1 #ifndef __CURL_CURLRULES_H
2 #define __CURL_CURLRULES_H
78 #ifndef CURL_SIZEOF_LONG
79 # error "CURL_SIZEOF_LONG definition is missing!"
80 Error Compilation_aborted_CURL_SIZEOF_LONG_is_missing
83 #ifndef CURL_TYPEOF_CURL_SOCKLEN_T
84 # error "CURL_TYPEOF_CURL_SOCKLEN_T definition is missing!"
85 Error Compilation_aborted_CURL_TYPEOF_CURL_SOCKLEN_T_is_missing
88 #ifndef CURL_SIZEOF_CURL_SOCKLEN_T
89 # error "CURL_SIZEOF_CURL_SOCKLEN_T definition is missing!"
90 Error Compilation_aborted_CURL_SIZEOF_CURL_SOCKLEN_T_is_missing
93 #ifndef CURL_TYPEOF_CURL_OFF_T
94 # error "CURL_TYPEOF_CURL_OFF_T definition is missing!"
95 Error Compilation_aborted_CURL_TYPEOF_CURL_OFF_T_is_missing
98 #ifndef CURL_FORMAT_CURL_OFF_T
99 # error "CURL_FORMAT_CURL_OFF_T definition is missing!"
100 Error Compilation_aborted_CURL_FORMAT_CURL_OFF_T_is_missing
103 #ifndef CURL_FORMAT_CURL_OFF_TU
104 # error "CURL_FORMAT_CURL_OFF_TU definition is missing!"
105 Error Compilation_aborted_CURL_FORMAT_CURL_OFF_TU_is_missing
108 #ifndef CURL_FORMAT_OFF_T
109 # error "CURL_FORMAT_OFF_T definition is missing!"
110 Error Compilation_aborted_CURL_FORMAT_OFF_T_is_missing
113 #ifndef CURL_SIZEOF_CURL_OFF_T
114 # error "CURL_SIZEOF_CURL_OFF_T definition is missing!"
115 Error Compilation_aborted_CURL_SIZEOF_CURL_OFF_T_is_missing
118 #ifndef CURL_SUFFIX_CURL_OFF_T
119 # error "CURL_SUFFIX_CURL_OFF_T definition is missing!"
120 Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_T_is_missing
123 #ifndef CURL_SUFFIX_CURL_OFF_TU
124 # error "CURL_SUFFIX_CURL_OFF_TU definition is missing!"
125 Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_TU_is_missing
132 #define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1
134 #define CurlchkszGE(t1, t2) sizeof(t1) >= sizeof(t2) ? 1 : -1
204 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) || \
205 defined(__HP_aCC) || defined(__BORLANDC__) || defined(__LCC__) || \
206 defined(__POCC__) || defined(__SALFORDC__) || defined(__HIGHC__) || \
219 #if defined(__BORLANDC__) && (__BORLANDC__ == 0x0551)
220 # define __CURL_OFF_T_C_HLPR2(x) x
221 # define __CURL_OFF_T_C_HLPR1(x) __CURL_OFF_T_C_HLPR2(x)
222 # define CURL_OFF_T_C(Val) __CURL_OFF_T_C_HLPR1(Val) ## \
223 __CURL_OFF_T_C_HLPR1(CURL_SUFFIX_CURL_OFF_T)
224 # define CURL_OFF_TU_C(Val) __CURL_OFF_T_C_HLPR1(Val) ## \
225 __CURL_OFF_T_C_HLPR1(CURL_SUFFIX_CURL_OFF_TU)
228 # define __CURL_OFF_T_C_HLPR2(Val,Suffix) Val ## Suffix
230 # define __CURL_OFF_T_C_HLPR2(Val,Suffix) ValSuffix
232 # define __CURL_OFF_T_C_HLPR1(Val,Suffix) __CURL_OFF_T_C_HLPR2(Val,Suffix)
233 # define CURL_OFF_T_C(Val) __CURL_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_T)
234 # define CURL_OFF_TU_C(Val) __CURL_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_TU)
248 #undef CURL_PULL_WS2TCPIP_H
249 #undef CURL_PULL_SYS_TYPES_H
250 #undef CURL_PULL_SYS_SOCKET_H
251 #undef CURL_PULL_STDINT_H
252 #undef CURL_PULL_INTTYPES_H
254 #undef CURL_TYPEOF_CURL_SOCKLEN_T
255 #undef CURL_TYPEOF_CURL_OFF_T
257 #ifdef CURL_NO_OLDIES
258 #undef CURL_FORMAT_OFF_T