diff options
author | Bruno Haible <bruno@clisp.org> | 2006-07-27 12:54:05 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2006-07-27 12:54:05 +0000 |
commit | 14bb18e0d286a98a241caa506b1973f368481a18 (patch) | |
tree | a96cc41798890e7343dbfd7fb0c33e5aee46aad9 /m4/stdint.m4 | |
parent | e883731d0d1db0ea1218e1254797e358d33904f3 (diff) | |
download | gnulib-14bb18e0d286a98a241caa506b1973f368481a18.tar.gz |
Get the C++ macros/conditionals right.
Diffstat (limited to 'm4/stdint.m4')
-rw-r--r-- | m4/stdint.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/stdint.m4 b/m4/stdint.m4 index b58ccdc612..48748c6139 100644 --- a/m4/stdint.m4 +++ b/m4/stdint.m4 @@ -1,4 +1,4 @@ -# 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, @@ -71,6 +71,7 @@ AC_DEFUN([gl_STDINT_H], 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; |