__STDC_LIMIT_MACROS is only half the battle.
* tests/test-stdint.c: Define __STDC_CONSTANT_MACROS, for glibc.
Signed-off-by: Eric Blake <eblake@redhat.com>
2010-04-16 Eric Blake <eblake@redhat.com>
+ stdint: allow test to pass with C++
+ * tests/test-stdint.c: Define __STDC_CONSTANT_MACROS, for glibc.
+
getopt: allow compilation with C++
* lib/getopt_int.h (__ordering): Hoist enum declaration outside
struct.
#define DO_PEDANTIC 0
#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
+#define __STDC_CONSTANT_MACROS 1 /* likewise */
#include <stdint.h>
#include "verify.h"