1 /* lib/cpp/src/thrift/config.h.  Generated from config.hin by configure.  */
2 /* config.hin.  Generated from configure.ac by autoheader.  */
3 
4 
5 #ifndef CONFIG_H
6 #define CONFIG_H
7 
8 
9 /* Define if the AI_ADDRCONFIG symbol is unavailable */
10 /* #undef AI_ADDRCONFIG */
11 
12 /* Possible value for SIGNED_RIGHT_SHIFT_IS */
13 #define ARITHMETIC_RIGHT_SHIFT 1
14 
15 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
16    systems. This function is required for `alloca.c' support on those systems.
17    */
18 /* #undef CRAY_STACKSEG_END */
19 
20 /* Define to 1 if using `alloca.c'. */
21 /* #undef C_ALLOCA */
22 
23 /* Define to 1 if you have the `alarm' function. */
24 #define HAVE_ALARM 1
25 
26 /* Define to 1 if you have `alloca', as a function or macro. */
27 #define HAVE_ALLOCA 1
28 
29 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
30    */
31 #define HAVE_ALLOCA_H 1
32 
33 /* Define to 1 if you have the <arpa/inet.h> header file. */
34 #define HAVE_ARPA_INET_H 1
35 
36 /* define if the Boost library is available */
37 #define HAVE_BOOST /**/
38 
39 /* Define to 1 if you have the `bzero' function. */
40 #define HAVE_BZERO 1
41 
42 /* Define to 1 if you have the `clock_gettime' function. */
43 #define HAVE_CLOCK_GETTIME 1
44 
45 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
46    don't. */
47 #define HAVE_DECL_STRERROR_R 1
48 
49 /* Define to 1 if you have the <dlfcn.h> header file. */
50 #define HAVE_DLFCN_H 1
51 
52 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
53 /* #undef HAVE_DOPRNT */
54 
55 /* Define to 1 if you have the <fcntl.h> header file. */
56 #define HAVE_FCNTL_H 1
57 
58 /* Define to 1 if you have the `fork' function. */
59 #define HAVE_FORK 1
60 
61 /* Define to 1 if you have the `ftruncate' function. */
62 #define HAVE_FTRUNCATE 1
63 
64 /* Define to 1 if you have the `gethostbyname' function. */
65 #define HAVE_GETHOSTBYNAME 1
66 
67 /* Define to 1 if you have the `gettimeofday' function. */
68 #define HAVE_GETTIMEOFDAY 1
69 
70 /* Define to 1 if you have the <inttypes.h> header file. */
71 #define HAVE_INTTYPES_H 1
72 
73 /* define if libevent is available */
74 /* #undef HAVE_LIBEVENT */
75 
76 /* Define to 1 if you have the <libintl.h> header file. */
77 #define HAVE_LIBINTL_H 1
78 
79 /* Define to 1 if you have the `pthread' library (-lpthread). */
80 #define HAVE_LIBPTHREAD 1
81 
82 /* Define to 1 if you have the `rt' library (-lrt). */
83 #define HAVE_LIBRT 1
84 
85 /* Define to 1 if you have the `socket' library (-lsocket). */
86 /* #undef HAVE_LIBSOCKET */
87 
88 /* Define to 1 if you have the <limits.h> header file. */
89 #define HAVE_LIMITS_H 1
90 
91 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
92    to 0 otherwise. */
93 #define HAVE_MALLOC 1
94 
95 /* Define to 1 if you have the <malloc.h> header file. */
96 #define HAVE_MALLOC_H 1
97 
98 /* Define to 1 if you have the `memmove' function. */
99 #define HAVE_MEMMOVE 1
100 
101 /* Define to 1 if you have the <memory.h> header file. */
102 #define HAVE_MEMORY_H 1
103 
104 /* Define to 1 if you have the `memset' function. */
105 #define HAVE_MEMSET 1
106 
107 /* Define to 1 if you have the `mkdir' function. */
108 #define HAVE_MKDIR 1
109 
110 /* Define to 1 if you have the <netdb.h> header file. */
111 #define HAVE_NETDB_H 1
112 
113 /* Define to 1 if you have the <netinet/in.h> header file. */
114 #define HAVE_NETINET_IN_H 1
115 
116 /* Define to 1 if you have the <openssl/rand.h> header file. */
117 #define HAVE_OPENSSL_RAND_H 1
118 
119 /* Define to 1 if you have the <openssl/ssl.h> header file. */
120 #define HAVE_OPENSSL_SSL_H 1
121 
122 /* Define to 1 if you have the <openssl/x509v3.h> header file. */
123 #define HAVE_OPENSSL_X509V3_H 1
124 
125 /* Define to 1 if you have the <pthread.h> header file. */
126 #define HAVE_PTHREAD_H 1
127 
128 /* Define to 1 if the system has the type `ptrdiff_t'. */
129 #define HAVE_PTRDIFF_T 1
130 
131 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
132    and to 0 otherwise. */
133 #define HAVE_REALLOC 1
134 
135 /* Define to 1 if you have the `realpath' function. */
136 #define HAVE_REALPATH 1
137 
138 /* Define to 1 if you have the `sched_get_priority_max' function. */
139 #define HAVE_SCHED_GET_PRIORITY_MAX 1
140 
141 /* Define to 1 if you have the `sched_get_priority_min' function. */
142 #define HAVE_SCHED_GET_PRIORITY_MIN 1
143 
144 /* Define to 1 if you have the <sched.h> header file. */
145 #define HAVE_SCHED_H 1
146 
147 /* Define to 1 if you have the `select' function. */
148 #define HAVE_SELECT 1
149 
150 /* Define to 1 if you have the `socket' function. */
151 #define HAVE_SOCKET 1
152 
153 /* Define to 1 if you have the `sqrt' function. */
154 #define HAVE_SQRT 1
155 
156 /* Define to 1 if `stat' has the bug that it succeeds when given the
157    zero-length file name argument. */
158 /* #undef HAVE_STAT_EMPTY_STRING_BUG */
159 
160 /* Define to 1 if stdbool.h conforms to C99. */
161 #define HAVE_STDBOOL_H 1
162 
163 /* Define to 1 if you have the <stddef.h> header file. */
164 #define HAVE_STDDEF_H 1
165 
166 /* Define to 1 if you have the <stdint.h> header file. */
167 #define HAVE_STDINT_H 1
168 
169 /* Define to 1 if you have the <stdlib.h> header file. */
170 #define HAVE_STDLIB_H 1
171 
172 /* Define to 1 if you have the `strchr' function. */
173 #define HAVE_STRCHR 1
174 
175 /* Define to 1 if you have the `strdup' function. */
176 #define HAVE_STRDUP 1
177 
178 /* Define to 1 if you have the `strerror' function. */
179 #define HAVE_STRERROR 1
180 
181 /* Define to 1 if you have the `strerror_r' function. */
182 #define HAVE_STRERROR_R 1
183 
184 /* Define to 1 if you have the `strftime' function. */
185 #define HAVE_STRFTIME 1
186 
187 /* Define to 1 if you have the <strings.h> header file. */
188 #define HAVE_STRINGS_H 1
189 
190 /* Define to 1 if you have the <string.h> header file. */
191 #define HAVE_STRING_H 1
192 
193 /* Define to 1 if you have the `strstr' function. */
194 #define HAVE_STRSTR 1
195 
196 /* Define to 1 if you have the `strtol' function. */
197 #define HAVE_STRTOL 1
198 
199 /* Define to 1 if you have the `strtoul' function. */
200 #define HAVE_STRTOUL 1
201 
202 /* Define to 1 if you have the <sys/param.h> header file. */
203 #define HAVE_SYS_PARAM_H 1
204 
205 /* Define to 1 if you have the <sys/poll.h> header file. */
206 #define HAVE_SYS_POLL_H 1
207 
208 /* Define to 1 if you have the <sys/resource.h> header file. */
209 #define HAVE_SYS_RESOURCE_H 1
210 
211 /* Define to 1 if you have the <sys/select.h> header file. */
212 #define HAVE_SYS_SELECT_H 1
213 
214 /* Define to 1 if you have the <sys/socket.h> header file. */
215 #define HAVE_SYS_SOCKET_H 1
216 
217 /* Define to 1 if you have the <sys/stat.h> header file. */
218 #define HAVE_SYS_STAT_H 1
219 
220 /* Define to 1 if you have the <sys/time.h> header file. */
221 #define HAVE_SYS_TIME_H 1
222 
223 /* Define to 1 if you have the <sys/types.h> header file. */
224 #define HAVE_SYS_TYPES_H 1
225 
226 /* Define to 1 if you have the <sys/un.h> header file. */
227 #define HAVE_SYS_UN_H 1
228 
229 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
230 #define HAVE_SYS_WAIT_H 1
231 
232 /* Define to 1 if you have the <unistd.h> header file. */
233 #define HAVE_UNISTD_H 1
234 
235 /* Define to 1 if you have the `vfork' function. */
236 #define HAVE_VFORK 1
237 
238 /* Define to 1 if you have the <vfork.h> header file. */
239 /* #undef HAVE_VFORK_H */
240 
241 /* Define to 1 if you have the `vprintf' function. */
242 #define HAVE_VPRINTF 1
243 
244 /* Define to 1 if you have the <wchar.h> header file. */
245 #define HAVE_WCHAR_H 1
246 
247 /* Define to 1 if `fork' works. */
248 #define HAVE_WORKING_FORK 1
249 
250 /* Define to 1 if `vfork' works. */
251 #define HAVE_WORKING_VFORK 1
252 
253 /* define if zlib is available */
254 #define HAVE_ZLIB /**/
255 
256 /* Define to 1 if the system has the type `_Bool'. */
257 /* #undef HAVE__BOOL */
258 
259 /* Possible value for SIGNED_RIGHT_SHIFT_IS */
260 #define LOGICAL_RIGHT_SHIFT 2
261 
262 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
263    slash. */
264 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
265 
266 /* Define to the sub-directory in which libtool stores uninstalled libraries.
267    */
268 #define LT_OBJDIR ".libs/"
269 
270 /* Name of package */
271 #define PACKAGE "thrift"
272 
273 /* Define to the address where bug reports for this package should be sent. */
274 #define PACKAGE_BUGREPORT ""
275 
276 /* Define to the full name of this package. */
277 #define PACKAGE_NAME "thrift"
278 
279 /* Define to the full name and version of this package. */
280 #define PACKAGE_STRING "thrift 0.9.1"
281 
282 /* Define to the one symbol short name of this package. */
283 #define PACKAGE_TARNAME "thrift"
284 
285 /* Define to the home page for this package. */
286 #define PACKAGE_URL ""
287 
288 /* Define to the version of this package. */
289 #define PACKAGE_VERSION "0.9.1"
290 
291 /* Define as the return type of signal handlers (`int' or `void'). */
292 #define RETSIGTYPE void
293 
294 /* Define to the type of arg 1 for `select'. */
295 #define SELECT_TYPE_ARG1 int
296 
297 /* Define to the type of args 2, 3 and 4 for `select'. */
298 #define SELECT_TYPE_ARG234 (fd_set *)
299 
300 /* Define to the type of arg 5 for `select'. */
301 #define SELECT_TYPE_ARG5 (struct timeval *)
302 
303 /* Indicates the effect of the right shift operator on negative signed
304    integers */
305 #define SIGNED_RIGHT_SHIFT_IS 1
306 
307 /* If using the C implementation of alloca, define if you know the
308    direction of stack growth for your system; otherwise it will be
309    automatically deduced at runtime.
310 	STACK_DIRECTION > 0 => grows toward higher addresses
311 	STACK_DIRECTION < 0 => grows toward lower addresses
312 	STACK_DIRECTION = 0 => direction of growth unknown */
313 /* #undef STACK_DIRECTION */
314 
315 /* Define to 1 if you have the ANSI C header files. */
316 #define STDC_HEADERS 1
317 
318 /* Define to 1 if strerror_r returns char *. */
319 #define STRERROR_R_CHAR_P 1
320 
321 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
322 #define TIME_WITH_SYS_TIME 1
323 
324 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
325 /* #undef TM_IN_SYS_TIME */
326 
327 /* Possible value for SIGNED_RIGHT_SHIFT_IS */
328 #define UNKNOWN_RIGHT_SHIFT 3
329 
330 /* experimental --enable-boostthreads that replaces POSIX pthread by
331    boost::thread */
332 /* #undef USE_BOOST_THREAD */
333 
334 /* Version number of package */
335 #define VERSION "0.9.1"
336 
337 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
338    `char[]'. */
339 #define YYTEXT_POINTER 1
340 
341 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
342    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
343    #define below would cause a syntax error. */
344 /* #undef _UINT32_T */
345 
346 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
347    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
348    #define below would cause a syntax error. */
349 /* #undef _UINT64_T */
350 
351 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
352    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
353    #define below would cause a syntax error. */
354 /* #undef _UINT8_T */
355 
356 /* Define to empty if `const' does not conform to ANSI C. */
357 /* #undef const */
358 
359 /* Define to `__inline__' or `__inline' if that's what the C compiler
360    calls it, or to nothing if 'inline' is not supported under any name.  */
361 #ifndef __cplusplus
362 /* #undef inline */
363 #endif
364 
365 /* Define to the type of a signed integer type of width exactly 16 bits if
366    such a type exists and the standard includes do not define it. */
367 /* #undef int16_t */
368 
369 /* Define to the type of a signed integer type of width exactly 32 bits if
370    such a type exists and the standard includes do not define it. */
371 /* #undef int32_t */
372 
373 /* Define to the type of a signed integer type of width exactly 64 bits if
374    such a type exists and the standard includes do not define it. */
375 /* #undef int64_t */
376 
377 /* Define to the type of a signed integer type of width exactly 8 bits if such
378    a type exists and the standard includes do not define it. */
379 /* #undef int8_t */
380 
381 /* Define to rpl_malloc if the replacement function should be used. */
382 /* #undef malloc */
383 
384 /* Define to `int' if <sys/types.h> does not define. */
385 /* #undef mode_t */
386 
387 /* Define to `long int' if <sys/types.h> does not define. */
388 /* #undef off_t */
389 
390 /* Define to `int' if <sys/types.h> does not define. */
391 /* #undef pid_t */
392 
393 /* Define to rpl_realloc if the replacement function should be used. */
394 /* #undef realloc */
395 
396 /* Define to `unsigned int' if <sys/types.h> does not define. */
397 /* #undef size_t */
398 
399 /* Define to `int' if <sys/types.h> does not define. */
400 /* #undef ssize_t */
401 
402 /* Define to the type of an unsigned integer type of width exactly 16 bits if
403    such a type exists and the standard includes do not define it. */
404 /* #undef uint16_t */
405 
406 /* Define to the type of an unsigned integer type of width exactly 32 bits if
407    such a type exists and the standard includes do not define it. */
408 /* #undef uint32_t */
409 
410 /* Define to the type of an unsigned integer type of width exactly 64 bits if
411    such a type exists and the standard includes do not define it. */
412 /* #undef uint64_t */
413 
414 /* Define to the type of an unsigned integer type of width exactly 8 bits if
415    such a type exists and the standard includes do not define it. */
416 /* #undef uint8_t */
417 
418 /* Define as `fork' if `vfork' does not work. */
419 /* #undef vfork */
420 
421 /* Define to empty if the keyword `volatile' does not work. Warning: valid
422    code using `volatile' can become incorrect without. Disable with care. */
423 /* #undef volatile */
424 
425 
426 #endif
427 
428