X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fsnprintf.c;h=5baa98b6bb59ef9087bbe66aa75c13e5b947be90;hp=f8dffa4ab12a4a380146c8e405acc10181ce62b4;hb=a6f72ca66b1ca3c83fb7336c5895af9ae0a3c202;hpb=9a282c83d7ecb80310704385af994b18923e3682 diff --git a/src/snprintf.c b/src/snprintf.c index f8dffa4a..5baa98b6 100644 --- a/src/snprintf.c +++ b/src/snprintf.c @@ -107,7 +107,7 @@ #define LDOUBLE double #endif -#ifdef HAVE_LONG_LONG +#if SIZEOF_LONG_LONG != 0 # define LLONG long long #else # define LLONG long @@ -849,7 +849,7 @@ int main (void) NULL }; long int_nums[] = { -1, 134, 91340, 341, 0203, 0}; -#ifdef HAVE_LONG_LONG +#if SIZEOF_LONG_LONG != 0 char *llong_fmt[] = { "%lld", "%llu", "%-1.5lld", "%-1.5llu", @@ -905,7 +905,7 @@ int main (void) num++; } -#ifdef HAVE_LONG_LONG +#if SIZEOF_LONG_LONG != 0 for (x = 0; llong_fmt[x] != NULL ; x++) for (y = 0; llong_nums[y] != 0 ; y++) {