X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=lib%2Fstdint.in.h;h=ef0c335975678a579640f556bc3dcbe8636bfd63;hp=121118cff7100dacf1ab7dff01d1fdaa7df56080;hb=a9fa555c51f48b0db46196fd9359c18e4584816a;hpb=ec7940f347e175b0f5516b414924f46578cc9208 diff --git a/lib/stdint.in.h b/lib/stdint.in.h index 121118cf..ef0c3359 100644 --- a/lib/stdint.in.h +++ b/lib/stdint.in.h @@ -247,6 +247,11 @@ # define uintmax_t unsigned long int #endif +/* Verify that intmax_t and uintmax_t have the same size. Too much code + breaks if this is not the case. If this check fails, the reason is likely + to be found in the autoconf macros. */ +typedef int _verify_intmax_size[2 * (sizeof (intmax_t) == sizeof (uintmax_t)) - 1]; + /* 7.18.2. Limits of specified-width integer types */ #if ! defined __cplusplus || defined __STDC_LIMIT_MACROS