From b791e158f0e04a518dea19fdaf0bfbf71b343c64 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 22 Jan 2004 12:45:50 +0000 Subject: use curl_off_t instead of off_t! --- lib/setup.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'lib/setup.h') diff --git a/lib/setup.h b/lib/setup.h index e4dac8b98..36e4c7f14 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -244,21 +244,4 @@ typedef struct hostent Curl_addrinfo; typedef struct in_addr Curl_ipconnect; #endif -#if 0 -#if (SIZEOF_OFF_T > 4) -/* off_t is bigger than 4 bytes, and that makes it our prefered variable - type for filesizes */ -typedef off_t filesize_t; -#else -#ifdef HAVE_LONGLONG -/* we have long long, use this for filesizes internally */ -typedef long long filesize_t; -#else -/* small off_t and no long long, no support for large files :-( */ -typedef long filesize_t; -#endif /* didn't have long long */ -#endif /* sizeof wasn't bigger than 4 */ - -#endif /* 0 */ - #endif /* __CONFIG_H */ -- cgit v1.2.3