]> granicus.if.org Git - curl/commitdiff
define SIZEOF_CURL_OFF_T if not already defined
authorDaniel Stenberg <daniel@haxx.se>
Fri, 23 Jan 2004 07:41:05 +0000 (07:41 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 Jan 2004 07:41:05 +0000 (07:41 +0000)
lib/setup.h
src/setup.h

index 36e4c7f147bd3d2d0a76a710b14457de72cd34ba..1d78dc6d2d13ec6438363054f29de0da727de48d 100644 (file)
@@ -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 */
index 7e8428d70fe2e15f1061e70f02ca2354c2453aca..340a46a4b555375b3486370bdb7177d7f0760225 100644 (file)
@@ -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 */