about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-04-23 10:35:25 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-04-23 10:35:25 +0000
commited1029afab41344e6d665cf7f7a5b90e9420f142 (patch)
tree89cfac144acca81e617842a9d20a039de4734601 /Src
parent2b84984769a7dc45368fcb16e00e49890b7bfdc1 (diff)
downloadzsh-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.h9
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