1 #ifndef __CURL_CURLBUILD_H
2 #define __CURL_CURLBUILD_H
62 #ifdef CURL_SIZEOF_LONG
63 #error "CURL_SIZEOF_LONG shall not be defined except in curlbuild.h"
64 Error Compilation_aborted_CURL_SIZEOF_LONG_already_defined
67 #ifdef CURL_TYPEOF_CURL_SOCKLEN_T
68 #error "CURL_TYPEOF_CURL_SOCKLEN_T shall not be defined except in curlbuild.h"
69 Error Compilation_aborted_CURL_TYPEOF_CURL_SOCKLEN_T_already_defined
72 #ifdef CURL_SIZEOF_CURL_SOCKLEN_T
73 #error "CURL_SIZEOF_CURL_SOCKLEN_T shall not be defined except in curlbuild.h"
74 Error Compilation_aborted_CURL_SIZEOF_CURL_SOCKLEN_T_already_defined
77 #ifdef CURL_TYPEOF_CURL_OFF_T
78 #error "CURL_TYPEOF_CURL_OFF_T shall not be defined except in curlbuild.h"
79 Error Compilation_aborted_CURL_TYPEOF_CURL_OFF_T_already_defined
82 #ifdef CURL_FORMAT_CURL_OFF_T
83 #error "CURL_FORMAT_CURL_OFF_T shall not be defined except in curlbuild.h"
84 Error Compilation_aborted_CURL_FORMAT_CURL_OFF_T_already_defined
87 #ifdef CURL_FORMAT_CURL_OFF_TU
88 #error "CURL_FORMAT_CURL_OFF_TU shall not be defined except in curlbuild.h"
89 Error Compilation_aborted_CURL_FORMAT_CURL_OFF_TU_already_defined
92 #ifdef CURL_FORMAT_OFF_T
93 #error "CURL_FORMAT_OFF_T shall not be defined except in curlbuild.h"
94 Error Compilation_aborted_CURL_FORMAT_OFF_T_already_defined
97 #ifdef CURL_SIZEOF_CURL_OFF_T
98 #error "CURL_SIZEOF_CURL_OFF_T shall not be defined except in curlbuild.h"
99 Error Compilation_aborted_CURL_SIZEOF_CURL_OFF_T_already_defined
102 #ifdef CURL_SUFFIX_CURL_OFF_T
103 #error "CURL_SUFFIX_CURL_OFF_T shall not be defined except in curlbuild.h"
104 Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_T_already_defined
107 #ifdef CURL_SUFFIX_CURL_OFF_TU
108 #error "CURL_SUFFIX_CURL_OFF_TU shall not be defined except in curlbuild.h"
109 Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_TU_already_defined
118 #undef CURL_PULL_WS2TCPIP_H
119 #ifdef CURL_PULL_WS2TCPIP_H
120 # ifndef WIN32_LEAN_AND_MEAN
121 # define WIN32_LEAN_AND_MEAN
123 # include <windows.h>
124 # include <winsock2.h>
125 # include <ws2tcpip.h>
130 #undef CURL_PULL_SYS_TYPES_H
131 #ifdef CURL_PULL_SYS_TYPES_H
132 # include <sys/types.h>
137 #define CURL_PULL_STDINT_H 1
138 #ifdef CURL_PULL_STDINT_H
144 #define CURL_PULL_INTTYPES_H 1
145 #ifdef CURL_PULL_INTTYPES_H
146 # include <inttypes.h>
151 #undef CURL_PULL_SYS_SOCKET_H
152 #ifdef CURL_PULL_SYS_SOCKET_H
153 # include <sys/socket.h>
157 #define CURL_SIZEOF_LONG 4
160 #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
163 #define CURL_SIZEOF_CURL_SOCKLEN_T 4
169 #define CURL_TYPEOF_CURL_OFF_T int64_t
175 #define CURL_FORMAT_CURL_OFF_T "lld"
178 #define CURL_FORMAT_CURL_OFF_TU "llu"
181 #define CURL_FORMAT_OFF_T "%lld"
184 #define CURL_SIZEOF_CURL_OFF_T 8
187 #define CURL_SUFFIX_CURL_OFF_T LL
190 #define CURL_SUFFIX_CURL_OFF_TU ULL