80c663882a
Summary: First draft. Unit tests pass. Test Plan: unit tests attached Reviewers: heyongqiang Reviewed By: heyongqiang Differential Revision: https://reviews.facebook.net/D3969
317 lines
9.0 KiB
C
317 lines
9.0 KiB
C
/* config.h. Generated by configure. */
|
|
/*
|
|
* Generated by simpkins on 2009-11-18,
|
|
* on an x86_64 CentOS 5.2 system.
|
|
*/
|
|
/* config.hin. Generated from configure.ac by autoheader. */
|
|
|
|
/* Define if the AI_ADDRCONFIG symbol is unavailable */
|
|
/* #undef AI_ADDRCONFIG */
|
|
|
|
/* Possible value for SIGNED_RIGHT_SHIFT_IS */
|
|
#define ARITHMETIC_RIGHT_SHIFT 1
|
|
|
|
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
|
systems. This function is required for `alloca.c' support on those systems.
|
|
*/
|
|
/* #undef CRAY_STACKSEG_END */
|
|
|
|
/* Define to 1 if using `alloca.c'. */
|
|
/* #undef C_ALLOCA */
|
|
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
|
#define HAVE_ALLOCA 1
|
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
*/
|
|
#define HAVE_ALLOCA_H 1
|
|
|
|
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
|
#define HAVE_ARPA_INET_H 1
|
|
|
|
/* define if the Boost library is available */
|
|
#define HAVE_BOOST
|
|
|
|
/* Define to 1 if you have the `bzero' function. */
|
|
#define HAVE_BZERO 1
|
|
|
|
/* Define to 1 if you have the `clock_gettime' function. */
|
|
#define HAVE_CLOCK_GETTIME 1
|
|
|
|
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_STRERROR_R 1
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
#define HAVE_DLFCN_H 1
|
|
|
|
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
|
/* #undef HAVE_DOPRNT */
|
|
|
|
/* Define to 1 if you have the <endian.h> header file. */
|
|
#define HAVE_ENDIAN_H 1
|
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
#define HAVE_FCNTL_H 1
|
|
|
|
/* Define to 1 if you have the `ftruncate' function. */
|
|
#define HAVE_FTRUNCATE 1
|
|
|
|
/* Define to 1 if you have the `gethostbyname' function. */
|
|
#define HAVE_GETHOSTBYNAME 1
|
|
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
|
#define HAVE_GETTIMEOFDAY 1
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#define HAVE_INTTYPES_H 1
|
|
|
|
/* define if libevent is available */
|
|
#define HAVE_LIBEVENT
|
|
|
|
/* Define to 1 if you have the <libintl.h> header file. */
|
|
#define HAVE_LIBINTL_H 1
|
|
|
|
/* Define to 1 if you have the `pthread' library (-lpthread). */
|
|
#define HAVE_LIBPTHREAD 1
|
|
|
|
/* Define to 1 if you have the `rt' library (-lrt). */
|
|
#define HAVE_LIBRT 1
|
|
|
|
/* Define to 1 if you have the `socket' library (-lsocket). */
|
|
/* #undef HAVE_LIBSOCKET */
|
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
|
#define HAVE_LIMITS_H 1
|
|
|
|
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
|
to 0 otherwise. */
|
|
#define HAVE_MALLOC 1
|
|
|
|
/* Define to 1 if you have the <malloc.h> header file. */
|
|
#define HAVE_MALLOC_H 1
|
|
|
|
/* Define to 1 if you have the `memmove' function. */
|
|
#define HAVE_MEMMOVE 1
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#define HAVE_MEMORY_H 1
|
|
|
|
/* Define to 1 if you have the `memset' function. */
|
|
#define HAVE_MEMSET 1
|
|
|
|
/* Define to 1 if you have the `mkdir' function. */
|
|
#define HAVE_MKDIR 1
|
|
|
|
/* Define to 1 if you have the <netdb.h> header file. */
|
|
#define HAVE_NETDB_H 1
|
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
|
#define HAVE_NETINET_IN_H 1
|
|
|
|
/* Define to 1 if you have the <pthread.h> header file. */
|
|
#define HAVE_PTHREAD_H 1
|
|
|
|
/* Define to 1 if the system has the type `ptrdiff_t'. */
|
|
#define HAVE_PTRDIFF_T 1
|
|
|
|
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
|
|
and to 0 otherwise. */
|
|
#define HAVE_REALLOC 1
|
|
|
|
/* Define to 1 if you have the `realpath' function. */
|
|
#define HAVE_REALPATH 1
|
|
|
|
/* Define to 1 if you have the `sched_get_priority_max' function. */
|
|
#define HAVE_SCHED_GET_PRIORITY_MAX 1
|
|
|
|
/* Define to 1 if you have the `sched_get_priority_min' function. */
|
|
#define HAVE_SCHED_GET_PRIORITY_MIN 1
|
|
|
|
/* Define to 1 if you have the `select' function. */
|
|
#define HAVE_SELECT 1
|
|
|
|
/* Define to 1 if you have the `socket' function. */
|
|
#define HAVE_SOCKET 1
|
|
|
|
/* Define to 1 if you have the `sqrt' function. */
|
|
#define HAVE_SQRT 1
|
|
|
|
/* Define to 1 if `stat' has the bug that it succeeds when given the
|
|
zero-length file name argument. */
|
|
/* #undef HAVE_STAT_EMPTY_STRING_BUG */
|
|
|
|
/* Define to 1 if stdbool.h conforms to C99. */
|
|
#define HAVE_STDBOOL_H 1
|
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
|
#define HAVE_STDDEF_H 1
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#define HAVE_STDINT_H 1
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#define HAVE_STDLIB_H 1
|
|
|
|
/* Define to 1 if you have the `strchr' function. */
|
|
#define HAVE_STRCHR 1
|
|
|
|
/* Define to 1 if you have the `strdup' function. */
|
|
#define HAVE_STRDUP 1
|
|
|
|
/* Define to 1 if you have the `strerror' function. */
|
|
#define HAVE_STRERROR 1
|
|
|
|
/* Define to 1 if you have the `strerror_r' function. */
|
|
#define HAVE_STRERROR_R 1
|
|
|
|
/* Define to 1 if you have the `strftime' function. */
|
|
#define HAVE_STRFTIME 1
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#define HAVE_STRINGS_H 1
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#define HAVE_STRING_H 1
|
|
|
|
/* Define to 1 if you have the `strstr' function. */
|
|
#define HAVE_STRSTR 1
|
|
|
|
/* Define to 1 if you have the `strtol' function. */
|
|
#define HAVE_STRTOL 1
|
|
|
|
/* Define to 1 if you have the `strtoul' function. */
|
|
#define HAVE_STRTOUL 1
|
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
|
#define HAVE_SYS_SELECT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
#define HAVE_SYS_SOCKET_H 1
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
#define HAVE_SYS_TIME_H 1
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#define HAVE_UNISTD_H 1
|
|
|
|
/* Define to 1 if you have the `vprintf' function. */
|
|
#define HAVE_VPRINTF 1
|
|
|
|
/* define if zlib is available */
|
|
#define HAVE_ZLIB
|
|
|
|
/* Define to 1 if the system has the type `_Bool'. */
|
|
/* #undef HAVE__BOOL */
|
|
|
|
/* Possible value for SIGNED_RIGHT_SHIFT_IS */
|
|
#define LOGICAL_RIGHT_SHIFT 2
|
|
|
|
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
|
|
slash. */
|
|
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
|
|
|
|
/* Name of package */
|
|
#define PACKAGE "thrift"
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#define PACKAGE_BUGREPORT ""
|
|
|
|
/* Define to the full name of this package. */
|
|
#define PACKAGE_NAME "thrift"
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#define PACKAGE_STRING "thrift 20080411"
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#define PACKAGE_TARNAME "thrift"
|
|
|
|
/* Define to the version of this package. */
|
|
#define PACKAGE_VERSION "20080411"
|
|
|
|
/* Define to the type of arg 1 for `select'. */
|
|
#define SELECT_TYPE_ARG1 int
|
|
|
|
/* Define to the type of args 2, 3 and 4 for `select'. */
|
|
#define SELECT_TYPE_ARG234 (fd_set *)
|
|
|
|
/* Define to the type of arg 5 for `select'. */
|
|
#define SELECT_TYPE_ARG5 (struct timeval *)
|
|
|
|
/* Indicates the effect of the right shift operator on negative signed
|
|
integers */
|
|
#define SIGNED_RIGHT_SHIFT_IS 1
|
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
direction of stack growth for your system; otherwise it will be
|
|
automatically deduced at run-time.
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
|
/* #undef STACK_DIRECTION */
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#define STDC_HEADERS 1
|
|
|
|
/* Define to 1 if strerror_r returns char *. */
|
|
#define STRERROR_R_CHAR_P 1
|
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
#define TIME_WITH_SYS_TIME 1
|
|
|
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
/* #undef TM_IN_SYS_TIME */
|
|
|
|
/* Possible value for SIGNED_RIGHT_SHIFT_IS */
|
|
#define UNKNOWN_RIGHT_SHIFT 3
|
|
|
|
/* Version number of package */
|
|
#define VERSION "20080411"
|
|
|
|
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
|
`char[]'. */
|
|
#define YYTEXT_POINTER 1
|
|
|
|
/* Calls Google Perftools ProfilerRegisterThread() on pthread creation
|
|
|
|
Set define to 0. It is exposing a linux 6.12 posix bug when an
|
|
application receives a SIGKILL, which causes the machine to crash.
|
|
*/
|
|
#ifndef GOOGLE_PERFTOOLS_REGISTER_THREAD
|
|
# define GOOGLE_PERFTOOLS_REGISTER_THREAD 0
|
|
#endif
|
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
/* #undef const */
|
|
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
#ifndef __cplusplus
|
|
/* #undef inline */
|
|
#endif
|
|
|
|
/* Define to rpl_malloc if the replacement function should be used. */
|
|
/* #undef malloc */
|
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
/* #undef mode_t */
|
|
|
|
/* Define to `long' if <sys/types.h> does not define. */
|
|
/* #undef off_t */
|
|
|
|
/* Define to rpl_realloc if the replacement function should be used. */
|
|
/* #undef realloc */
|
|
|
|
/* Define to `unsigned' if <sys/types.h> does not define. */
|
|
/* #undef size_t */
|
|
|
|
/* Define to empty if the keyword `volatile' does not work. Warning: valid
|
|
code using `volatile' can become incorrect without. Disable with care. */
|
|
/* #undef volatile */
|