about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-06-16 22:50:44 +0000
committerClint Adams <clint@users.sourceforge.net>2008-06-16 22:50:44 +0000
commit6c9cc0e4fc3ea34274b2b370c0430992b308c4c9 (patch)
treeaa49d6e576d9176fb16454039270f070c0becef7 /Src/system.h
parent554f89cd46f5e965baff1edb3d1d5b8235b4ac7f (diff)
downloadzsh-6c9cc0e4fc3ea34274b2b370c0430992b308c4c9.tar.gz
zsh-6c9cc0e4fc3ea34274b2b370c0430992b308c4c9.tar.xz
zsh-6c9cc0e4fc3ea34274b2b370c0430992b308c4c9.zip
25167: patch from Petr Salinger to define _GNU_SOURCE (for /dev/ptmx) when glibc is being used on non-linux platforms.
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/system.h b/Src/system.h
index 8449b1bd6..7e2cb59f6 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -37,7 +37,7 @@
 #endif
 #endif
 
-#ifdef __linux
+#if defined(__linux) || defined(__GLIBC__)
 /*
  * Turn on numerous extensions.
  * This is in order to get the functions for manipulating /dev/ptmx.