diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-23 10:35:25 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-23 10:35:25 +0000 |
commit | ed1029afab41344e6d665cf7f7a5b90e9420f142 (patch) | |
tree | 89cfac144acca81e617842a9d20a039de4734601 /Src | |
parent | 2b84984769a7dc45368fcb16e00e49890b7bfdc1 (diff) | |
download | zsh-ed1029afab41344e6d665cf7f7a5b90e9420f142.tar.gz zsh-ed1029afab41344e6d665cf7f7a5b90e9420f142.tar.xz zsh-ed1029afab41344e6d665cf7f7a5b90e9420f142.zip |
24867: _XOPEN_SOURCE -> _XOPEN_SOURCE_EXTENDED
Diffstat (limited to 'Src')
-rw-r--r-- | Src/system.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Src/system.h b/Src/system.h index a10b66fd8..2f542981b 100644 --- a/Src/system.h +++ b/Src/system.h @@ -56,8 +56,13 @@ # define _XOPEN_SOURCE_EXTENDED 1 #else # ifdef MULTIBYTE_SUPPORT -/* Needed for wcwidth() which is part of XSI */ -# define _XOPEN_SOURCE 1 +/* + * Needed for wcwidth() which is part of XSI. + * Various other uses of the interface mean we can't get away with just + * _XOPEN_SOURCE. + */ +/*# define _XOPEN_SOURCE 1*/ +# define _XOPEN_SOURCE_EXTENDED 1 # endif #endif |