aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-23 07:41:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-23 07:41:05 +0000
commitd8ee927be2883dcb3ebca3b75a9955c789f9e52e (patch)
tree0dff9ea5986fb779f0c4802fd6d3682b757e0f15 /lib
parent3efb90dd755af19eda4b4004e3fadbd3a9c6b1e7 (diff)
define SIZEOF_CURL_OFF_T if not already defined
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.h4
1 files changed, 4 insertions, 0 deletions
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 */