mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
Check if _GNU_SOURCE is already defined
This commit is contained in:
parent
d097e35743
commit
a7ed7a979e
@ -26,7 +26,9 @@
|
|||||||
// It is fine to use C99 in this file because it will not be built with VS
|
// It is fine to use C99 in this file because it will not be built with VS
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
|
#ifndef _GNU_SOURCE
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user