From: Daniel Stenberg Date: Fri, 23 Jan 2004 07:41:05 +0000 (+0000) Subject: define SIZEOF_CURL_OFF_T if not already defined X-Git-Tag: cares-1_1_0~457 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8ee927be2883dcb3ebca3b75a9955c789f9e52e;p=curl define SIZEOF_CURL_OFF_T if not already defined --- diff --git a/lib/setup.h b/lib/setup.h index 36e4c7f14..1d78dc6d2 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -244,4 +244,8 @@ typedef struct hostent Curl_addrinfo; typedef struct in_addr Curl_ipconnect; #endif +#ifndef SIZEOF_CURL_OFF_T +#define SIZEOF_CURL_OFF_T sizeof(curl_off_t) +#endif + #endif /* __CONFIG_H */ diff --git a/src/setup.h b/src/setup.h index 7e8428d70..340a46a4b 100644 --- a/src/setup.h +++ b/src/setup.h @@ -112,4 +112,8 @@ int fileno( FILE *stream); #define typedef_bool #endif +#ifndef SIZEOF_CURL_OFF_T +#define SIZEOF_CURL_OFF_T sizeof(curl_off_t) +#endif + #endif /* __SETUP_H */