mirror of
https://github.com/curl/curl.git
synced 2026-07-04 08:17:16 +03:00
define SIZEOF_CURL_OFF_T if not already defined
This commit is contained in:
parent
3efb90dd75
commit
d8ee927be2
2 changed files with 8 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue