about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/system.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/system.h b/Src/system.h
index 1c737087f..86f035f17 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -37,13 +37,12 @@
 #endif
 #endif
 
-#if defined(__linux) || defined(__GNU__) || defined(__GLIBC__)
 /*
  * Turn on numerous extensions.
  * This is in order to get the functions for manipulating /dev/ptmx.
  */
 #define _GNU_SOURCE 1
-#endif
+#define _POSIX_C_SOURCE 200809L
 
 /* NeXT has half-implemented POSIX support *
  * which currently fools configure         */