Fix time.h includes missing _GNU_SOURCE

This commit is contained in:
Willy-JL 2024-11-22 05:44:51 +00:00
parent b35641f4a3
commit e3b41e1cf1
3 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,8 @@
//
//========================================================================
#define _GNU_SOURCE
#if defined(_MSC_VER)
// Make MS math.h define M_PI
#define _USE_MATH_DEFINES

View File

@ -25,6 +25,8 @@
//
//========================================================================
#define _GNU_SOURCE
#include "internal.h"
#if defined(GLFW_BUILD_POSIX_TIMER)

View File

@ -24,6 +24,8 @@
//
//========================================================================
#define _GNU_SOURCE
#include "internal.h"
#if defined(_GLFW_WAYLAND)