diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-12-14 15:14:04 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-12-14 15:14:04 +0000 |
commit | 44a9dde5b25b3e08573b09298f3d15eff1215a19 (patch) | |
tree | 4b752dc3e3bfd51d94de8e1ab38c937ec367f065 /Src/system.h | |
parent | a5c9701518e937ccc7968ad82595567e305ba11f (diff) | |
download | zsh-44a9dde5b25b3e08573b09298f3d15eff1215a19.tar.gz zsh-44a9dde5b25b3e08573b09298f3d15eff1215a19.tar.xz zsh-44a9dde5b25b3e08573b09298f3d15eff1215a19.zip |
24252: dont define _XOPEN_SOURCE_EXTENDED for curses on OpenBSD
Diffstat (limited to 'Src/system.h')
-rw-r--r-- | Src/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h index 2d89ac80e..34b06c583 100644 --- a/Src/system.h +++ b/Src/system.h @@ -52,6 +52,10 @@ # undef HAVE_SYS_UTSNAME_H #endif +#if defined(ZSH_CURSES_SOURCE) && defined(ZSH_CURSES_NEEDS_XOPEN) +#define _XOPEN_SOURCE_EXTENDED 1 +#endif + /* * Solaris by default zeroes all elements of the tm structure in * strptime(). Unfortunately that gives us no way of telling whether |