diff options
author | Clint Adams <clint@users.sourceforge.net> | 2008-06-16 22:50:44 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2008-06-16 22:50:44 +0000 |
commit | 6c9cc0e4fc3ea34274b2b370c0430992b308c4c9 (patch) | |
tree | aa49d6e576d9176fb16454039270f070c0becef7 /Src | |
parent | 554f89cd46f5e965baff1edb3d1d5b8235b4ac7f (diff) | |
download | zsh-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')
-rw-r--r-- | Src/system.h | 2 |
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. |