X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-stdint.c;h=f606cc3e24fd3dbbe5346b6a2889036ab1ce7cdb;hb=94122ae4818e7808c99303a0d2094ee9c6a2b843;hp=a2bf42ac899451eabcbe4dcf041c726951841a7d;hpb=594dfb1623e692f4500ffc1880980ff1b52ee4b8;p=gnulib.git diff --git a/tests/test-stdint.c b/tests/test-stdint.c index a2bf42ac8..f606cc3e2 100644 --- a/tests/test-stdint.c +++ b/tests/test-stdint.c @@ -1,5 +1,5 @@ /* Test of substitute. - Copyright (C) 2006-2008 Free Software Foundation, Inc. + Copyright (C) 2006-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ #define DO_PEDANTIC 0 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ +#define __STDC_CONSTANT_MACROS 1 /* likewise */ #include #include "verify.h" @@ -354,7 +355,7 @@ verify_same_types (UINTMAX_C (17), (uintmax_t)0 + 0); int -main () +main (void) { return 0; }