mirror of
https://github.com/glfw/glfw.git
synced 2025-01-31 04:12:41 +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)
|
#if defined(_MSC_VER)
|
||||||
// Make MS math.h define M_PI
|
// Make MS math.h define M_PI
|
||||||
#define _USE_MATH_DEFINES
|
#define _USE_MATH_DEFINES
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
//
|
//
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
#if defined(GLFW_BUILD_POSIX_TIMER)
|
#if defined(GLFW_BUILD_POSIX_TIMER)
|
||||||
|
@ -24,6 +24,8 @@
|
|||||||
//
|
//
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
#if defined(_GLFW_WAYLAND)
|
#if defined(_GLFW_WAYLAND)
|
||||||
|
Loading…
Reference in New Issue
Block a user