+2006-07-27 Bruno Haible <bruno@clisp.org>
+
+ * stdint_.h (INT*_C, UINT*_C) [C++]: Define these if
+ __STDC_CONSTANT_MACROS is defined, not if __STDC_LIMIT_MACROS is
+ defined.
+
2006-07-26 Eric Blake <ebb9@byu.net>
* mkstemp-safer.c [! HAVE_MKSTEMP]: Add prototype for platforms
* pipe-safer.c (pipe_safer) [!HAVE_FUNC_PIPE]: Provide fallback to
avoid compilation warning on mingw.
-
2006-07-25 Bruno Haible <bruno@clisp.org>
* version-etc.c (version_etc_va): Use va_copy, assumed to be defined in
#define WINT_MAX \
_STDINT_MAX (@HAVE_SIGNED_WINT_T@, @BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@)
+#endif /* !defined __cplusplus || defined __STDC_LIMIT_MACROS */
+
/* 7.18.4. Macros for integer constants */
+#if ! defined __cplusplus || defined __STDC_CONSTANT_MACROS
+
/* 7.18.4.1. Macros for minimum-width integer constants */
/* According to ISO C 99 Technical Corrigendum 1 */
+2006-07-27 Bruno Haible <bruno@clisp.org>
+
+ * stdint.m4 (gl_STDINT_H): Define __STDC_CONSTANT_MACROS during the
+ test.
+
2006-07-26 Eric Blake <ebb9@byu.net>
* unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe.
-# stdint.m4 serial 17
+# stdint.m4 serial 18
dnl Copyright (C) 2001-2002, 2004-2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_LANG_PROGRAM([[
#include <stddef.h>
#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
+#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
#include ABSOLUTE_STDINT_H
#ifdef INT8_MAX
int8_t a1 = INT8_MAX;