Mercurial > hg > octave-kai > gnulib-hg
changeset 13238:76c3bd5df2b8
stdint: allow test to pass with C++
__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>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Fri, 16 Apr 2010 14:11:08 -0600 |
parents | 15f9d5da394d |
children | 81bcdef18cd8 |
files | ChangeLog tests/test-stdint.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 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.