Browse Source

Fix typo in preprocessor macro

Ahmad Fatoum 7 years ago
parent
commit
203b2f65d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core.c

+ 1 - 1
src/core.c

@@ -89,7 +89,7 @@
 
 
 #include "raylib.h"
 #include "raylib.h"
 
 
-#if (defined(__linux__) || defined(PLATFORM_WEB)) && _POSIX_S_SOURCE < 199309L
+#if (defined(__linux__) || defined(PLATFORM_WEB)) && _POSIX_C_SOURCE < 199309L
     #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