mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-17 08:48:14 +00:00
ADDED: Required define on Linux #2729
This commit is contained in:
@@ -155,6 +155,9 @@
|
|||||||
#undef _POSIX_C_SOURCE
|
#undef _POSIX_C_SOURCE
|
||||||
#define _POSIX_C_SOURCE 199309L // Required for: CLOCK_MONOTONIC if compiled with c99 without gnu ext.
|
#define _POSIX_C_SOURCE 199309L // Required for: CLOCK_MONOTONIC if compiled with c99 without gnu ext.
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__linux__) && !defined(_GNU_SOURCE)
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Platform specific defines to handle GetApplicationDirectory()
|
// Platform specific defines to handle GetApplicationDirectory()
|
||||||
#if defined (PLATFORM_DESKTOP)
|
#if defined (PLATFORM_DESKTOP)
|
||||||
|
Reference in New Issue
Block a user