summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-07-23 12:33:13 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:08:41 +0200
commit8b45c5df18e1976a1275297db73978bfe6144c7e (patch)
treec6234bf0ed50671cb2038cff7a8ec394403eac43 /lib
parentda91167cfae5b71d56c7054a9243e11a6507bbf0 (diff)
downloadexternal_gettext-8b45c5df18e1976a1275297db73978bfe6144c7e.zip
external_gettext-8b45c5df18e1976a1275297db73978bfe6144c7e.tar.gz
external_gettext-8b45c5df18e1976a1275297db73978bfe6144c7e.tar.bz2
Add support for ISO C 99 <inttypes.h> format string directive macros.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog5
-rw-r--r--lib/mkdtemp.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index d033ff1..dc51e93 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-21 Bruno Haible <bruno@clisp.org>
+
+ * mkdtemp.c: Test HAVE_STDINT_H_WITH_UINTMAX instead of HAVE_STDINT_H.
+ Test HAVE_INTTYPES_H_WITH_UINTMAX instead of HAVE_INTTYPES_H.
+
2002-07-17 Bruno Haible <bruno@clisp.org>
* gettext-0.11.3 released.
diff --git a/lib/mkdtemp.c b/lib/mkdtemp.c
index dcdfdc1..1508102 100644
--- a/lib/mkdtemp.c
+++ b/lib/mkdtemp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2001-2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -39,11 +39,11 @@
# define TMP_MAX 238328
#endif
-#if HAVE_STDINT_H || _LIBC
+#if HAVE_STDINT_H_WITH_UINTMAX || _LIBC
# include <stdint.h>
#endif
-#if HAVE_INTTYPES_H || _LIBC
+#if HAVE_INTTYPES_H_WITH_UINTMAX || _LIBC
# include <inttypes.h>
#endif