From feb03e471786e9c543ef6e807a4a748046c0ce2b Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 13 Aug 2008 15:32:20 +0000 Subject: The size of long is a build time characteristic and as such it is now recorded in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process and in CVS curlbuild.h.dist for non-configure systems. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 0eaf8f7f5..948fd6756 100644 --- a/src/main.c +++ b/src/main.c @@ -1387,7 +1387,7 @@ static int str2num(long *val, const char *str) */ static int str2offset(curl_off_t *val, const char *str) { -#if (CURL_SIZEOF_CURL_OFF_T > SIZEOF_LONG) +#if (CURL_SIZEOF_CURL_OFF_T > CURL_SIZEOF_LONG) /* Ugly, but without going through a bunch of rigmarole, we don't have the * definitions for LLONG_{MIN,MAX} or LONG_LONG_{MIN,MAX}. */ -- cgit v1.2.3