mirror of
https://github.com/glfw/glfw.git
synced 2025-01-30 20:02:34 +00:00
Fix time.h
includes missing _GNU_SOURCE
This commit is contained in:
parent
b35641f4a3
commit
e3b41e1cf1
@ -24,6 +24,8 @@
|
||||
//
|
||||
//========================================================================
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
// Make MS math.h define M_PI
|
||||
#define _USE_MATH_DEFINES
|
||||
|
@ -25,6 +25,8 @@
|
||||
//
|
||||
//========================================================================
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
#if defined(GLFW_BUILD_POSIX_TIMER)
|
||||
|
@ -24,6 +24,8 @@
|
||||
//
|
||||
//========================================================================
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
#if defined(_GLFW_WAYLAND)
|
||||
|
Loading…
Reference in New Issue
Block a user