about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-04-12 14:51:31 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-04-12 14:51:31 +0000
commitd2fd8b86cf6170ac106144e049ee0d7576e1c224 (patch)
tree95c7f58d6a6358d5ad8f37bd571647797a73cdc6 /Src/system.h
parentc358c64c1d33b24f2001079010d9460f6f29ac0a (diff)
downloadzsh-d2fd8b86cf6170ac106144e049ee0d7576e1c224.tar.gz
zsh-d2fd8b86cf6170ac106144e049ee0d7576e1c224.tar.xz
zsh-d2fd8b86cf6170ac106144e049ee0d7576e1c224.zip
Valentin Ochs: 28990: more changes needed for signals.
Diffstat (limited to 'Src/system.h')
-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         */