summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Src/system.h5
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5794c2625..66acb4cf5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-23 Peter Stephenson <pws@csr.com>
+
+ * Christoph Bauer: 23309ish: define _INCLUDE__STDC_A1_SOURCE
+ for HP/UX.
+
2007-04-21 Clint Adams <clint@zsh.org>
* 23303: Completion/Unix/Command/_date: use _guard.
@@ -37,7 +42,7 @@
completion list formatting was broken.
* Christoph Bauer: users/11416: Src/utils.c: bad use
- of VARRAR confused some compilers.
+ of VARARR confused some compilers.
2007-04-17 Geoff Wing <gcw@zsh.org>
diff --git a/Src/system.h b/Src/system.h
index fafa5dd01..c2f0b4ee8 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -757,6 +757,11 @@ extern short ospeed;
* If MULTIBYTE_SUPPORT is not defined, these includes provide a subset of
* Unicode support that makes the \u and \U printf escape sequences work.
*/
+=20
+#if defined(__hpux) && !defined(_INCLUDE__STDC_A1_SOURCE)
+#define _INCLUDE__STDC_A1_SOURCE
+#endif
+=20
# include <wchar.h>
# include <wctype.h>
#endif