wut  1.0.0-beta9
Wii U Toolchain
curlbuild.h
Go to the documentation of this file.
1 #ifndef __CURL_CURLBUILD_H
2 #define __CURL_CURLBUILD_H
3 /***************************************************************************
4  * _ _ ____ _
5  * Project ___| | | | _ \| |
6  * / __| | | | |_) | |
7  * | (__| |_| | _ <| |___
8  * \___|\___/|_| \_\_____|
9  *
10  * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
11  *
12  * This software is licensed as described in the file COPYING, which
13  * you should have received as part of this distribution. The terms
14  * are also available at http://curl.haxx.se/docs/copyright.html.
15  *
16  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17  * copies of the Software, and permit persons to whom the Software is
18  * furnished to do so, under the terms of the COPYING file.
19  *
20  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21  * KIND, either express or implied.
22  *
23  ***************************************************************************/
24 
25 /* ================================================================ */
26 /* NOTES FOR CONFIGURE CAPABLE SYSTEMS */
27 /* ================================================================ */
28 
29 /*
30  * NOTE 1:
31  * -------
32  *
33  * Nothing in this file is intended to be modified or adjusted by the
34  * curl library user nor by the curl library builder.
35  *
36  * If you think that something actually needs to be changed, adjusted
37  * or fixed in this file, then, report it on the libcurl development
38  * mailing list: http://cool.haxx.se/mailman/listinfo/curl-library/
39  *
40  * This header file shall only export symbols which are 'curl' or 'CURL'
41  * prefixed, otherwise public name space would be polluted.
42  *
43  * NOTE 2:
44  * -------
45  *
46  * Right now you might be staring at file include/curl/curlbuild.h.in or
47  * at file include/curl/curlbuild.h, this is due to the following reason:
48  *
49  * On systems capable of running the configure script, the configure process
50  * will overwrite the distributed include/curl/curlbuild.h file with one that
51  * is suitable and specific to the library being configured and built, which
52  * is generated from the include/curl/curlbuild.h.in template file.
53  *
54  */
55 
56 #include <nsysnet/socket.h>
57 
58 /* ================================================================ */
59 /* DEFINITION OF THESE SYMBOLS SHALL NOT TAKE PLACE ANYWHERE ELSE */
60 /* ================================================================ */
61 
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
65 #endif
66 
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
70 #endif
71 
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
75 #endif
76 
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
80 #endif
81 
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
85 #endif
86 
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
90 #endif
91 
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
95 #endif
96 
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
100 #endif
101 
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
105 #endif
106 
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
110 #endif
111 
112 /* ================================================================ */
113 /* EXTERNAL INTERFACE SETTINGS FOR CONFIGURE CAPABLE SYSTEMS ONLY */
114 /* ================================================================ */
115 
116 /* Configure process defines this to 1 when it finds out that system */
117 /* header file ws2tcpip.h must be included by the external interface. */
118 #undef CURL_PULL_WS2TCPIP_H
119 #ifdef CURL_PULL_WS2TCPIP_H
120 # ifndef WIN32_LEAN_AND_MEAN
121 # define WIN32_LEAN_AND_MEAN
122 # endif
123 # include <windows.h>
124 # include <winsock2.h>
125 # include <ws2tcpip.h>
126 #endif
127 
128 /* Configure process defines this to 1 when it finds out that system */
129 /* header file sys/types.h must be included by the external interface. */
130 #undef CURL_PULL_SYS_TYPES_H
131 #ifdef CURL_PULL_SYS_TYPES_H
132 # include <sys/types.h>
133 #endif
134 
135 /* Configure process defines this to 1 when it finds out that system */
136 /* header file stdint.h must be included by the external interface. */
137 #define CURL_PULL_STDINT_H 1
138 #ifdef CURL_PULL_STDINT_H
139 # include <stdint.h>
140 #endif
141 
142 /* Configure process defines this to 1 when it finds out that system */
143 /* header file inttypes.h must be included by the external interface. */
144 #define CURL_PULL_INTTYPES_H 1
145 #ifdef CURL_PULL_INTTYPES_H
146 # include <inttypes.h>
147 #endif
148 
149 /* Configure process defines this to 1 when it finds out that system */
150 /* header file sys/socket.h must be included by the external interface. */
151 #undef CURL_PULL_SYS_SOCKET_H
152 #ifdef CURL_PULL_SYS_SOCKET_H
153 # include <sys/socket.h>
154 #endif
155 
156 /* The size of `long', as computed by sizeof. */
157 #define CURL_SIZEOF_LONG 4
158 
159 /* Integral data type used for curl_socklen_t. */
160 #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
161 
162 /* The size of `curl_socklen_t', as computed by sizeof. */
163 #define CURL_SIZEOF_CURL_SOCKLEN_T 4
164 
165 /* Data type definition of curl_socklen_t. */
167 
168 /* Signed integral data type used for curl_off_t. */
169 #define CURL_TYPEOF_CURL_OFF_T int64_t
170 
171 /* Data type definition of curl_off_t. */
173 
174 /* curl_off_t formatting string directive without "%" conversion specifier. */
175 #define CURL_FORMAT_CURL_OFF_T "lld"
176 
177 /* unsigned curl_off_t formatting string without "%" conversion specifier. */
178 #define CURL_FORMAT_CURL_OFF_TU "llu"
179 
180 /* curl_off_t formatting string directive with "%" conversion specifier. */
181 #define CURL_FORMAT_OFF_T "%lld"
182 
183 /* The size of `curl_off_t', as computed by sizeof. */
184 #define CURL_SIZEOF_CURL_OFF_T 8
185 
186 /* curl_off_t constant suffix. */
187 #define CURL_SUFFIX_CURL_OFF_T LL
188 
189 /* unsigned curl_off_t constant suffix. */
190 #define CURL_SUFFIX_CURL_OFF_TU ULL
191 
192 #endif /* __CURL_CURLBUILD_H */
CURL_TYPEOF_CURL_OFF_T
#define CURL_TYPEOF_CURL_OFF_T
Definition: curlbuild.h:169
curl_socklen_t
CURL_TYPEOF_CURL_SOCKLEN_T curl_socklen_t
Definition: curlbuild.h:166
CURL_TYPEOF_CURL_SOCKLEN_T
#define CURL_TYPEOF_CURL_SOCKLEN_T
Definition: curlbuild.h:160
curl_off_t
CURL_TYPEOF_CURL_OFF_T curl_off_t
Definition: curlbuild.h:172
socket.h