Ignore:
Timestamp:
Dec 20, 2010, 2:16:56 AM (12 years ago)
Author:
livings124
Message:

update the Mac project and libevent files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/third-party/macosx-libevent-event-config.h

    r9948 r11549  
    99/* config.h.in.  Generated from configure.in by autoheader.  */
    1010
    11 /* Define if clock_gettime is available in libc */
    12 /* #undef _EVENT_DNS_USE_CPU_CLOCK_FOR_ID */
    13 
    14 /* Define is no secure id variant is available */
    15 #define _EVENT_DNS_USE_GETTIMEOFDAY_FOR_ID 1
     11/* Define if libevent should build without support for a debug mode */
     12/* #under _EVENT_DISABLE_DEBUG_MODE */
     13
     14/* Define if libevent should not allow replacing the mm functions */
     15/* #under _EVENT_DISABLE_MM_REPLACEMENT */
     16
     17/* Define if libevent should not be compiled with thread support */
     18/* #under _EVENT_DISABLE_THREAD_SUPPORT */
     19
     20/* Define to 1 if you have the `arc4random' function. */
     21#define _EVENT_HAVE_ARC4RANDOM 1
     22
     23/* Define to 1 if you have the `arc4random_buf' function. */
     24/* #under _EVENT_HAVE_ARC4RANDOM_BUF */
     25
     26/* Define to 1 if you have the <arpa/inet.h> header file. */
     27#define _EVENT_HAVE_ARPA_INET_H 1
    1628
    1729/* Define to 1 if you have the `clock_gettime' function. */
    18 /* #undef _EVENT_HAVE_CLOCK_GETTIME */
     30/* #under _EVENT_HAVE_CLOCK_GETTIME */
     31
     32/* Define to 1 if you have the declaration of `CTL_KERN', and to 0 if you
     33   don't. */
     34#define _EVENT_HAVE_DECL_CTL_KERN 1
     35
     36/* Define to 1 if you have the declaration of `KERN_ARND', and to 0 if you
     37   don't. */
     38#define _EVENT_HAVE_DECL_KERN_ARND 0
     39
     40/* Define to 1 if you have the declaration of `KERN_RANDOM', and to 0 if you
     41   don't. */
     42#define _EVENT_HAVE_DECL_KERN_RANDOM 0
     43
     44/* Define to 1 if you have the declaration of `RANDOM_UUID', and to 0 if you
     45   don't. */
     46#define _EVENT_HAVE_DECL_RANDOM_UUID 0
    1947
    2048/* Define if /dev/poll is available */
    21 /* #undef _EVENT_HAVE_DEVPOLL */
     49/* #under _EVENT_HAVE_DEVPOLL */
    2250
    2351/* Define to 1 if you have the <dlfcn.h> header file. */
     
    2553
    2654/* Define if your system supports the epoll system calls */
    27 /* #undef _EVENT_HAVE_EPOLL */
     55/* #under _EVENT_HAVE_EPOLL */
    2856
    2957/* Define to 1 if you have the `epoll_ctl' function. */
    30 /* #undef _EVENT_HAVE_EPOLL_CTL */
     58/* #under _EVENT_HAVE_EPOLL_CTL */
     59
     60/* Define to 1 if you have the `eventfd' function. */
     61/* #under _EVENT_HAVE_EVENTFD */
    3162
    3263/* Define if your system supports event ports */
    33 /* #undef _EVENT_HAVE_EVENT_PORTS */
     64/* #under _EVENT_HAVE_EVENT_PORTS */
    3465
    3566/* Define to 1 if you have the `fcntl' function. */
     
    5182#define _EVENT_HAVE_GETEUID 1
    5283
     84/* Define this if you have any gethostbyname_r() */
     85/* #under _EVENT_HAVE_GETHOSTBYNAME_R */
     86
     87/* Define this if gethostbyname_r takes 3 arguments */
     88/* #under _EVENT_HAVE_GETHOSTBYNAME_R_3_ARG */
     89
     90/* Define this if gethostbyname_r takes 5 arguments */
     91/* #under _EVENT_HAVE_GETHOSTBYNAME_R_5_ARG */
     92
     93/* Define this if gethostbyname_r takes 6 arguments */
     94/* #under _EVENT_HAVE_GETHOSTBYNAME_R_6_ARG */
     95
    5396/* Define to 1 if you have the `getnameinfo' function. */
    5497#define _EVENT_HAVE_GETNAMEINFO 1
    5598
     99/* Define to 1 if you have the `getprotobynumber' function. */
     100#define _EVENT_HAVE_GETPROTOBYNUMBER 1
     101
     102/* Define to 1 if you have the `getservbyname' function. */
     103#define _EVENT_HAVE_GETSERVBYNAME 1
     104
    56105/* Define to 1 if you have the `gettimeofday' function. */
    57106#define _EVENT_HAVE_GETTIMEOFDAY 1
    58107
     108/* Define to 1 if you have the `inet_aton' function. */
     109#define _EVENT_HAVE_INET_ATON 1
     110
    59111/* Define to 1 if you have the `inet_ntop' function. */
    60112#define _EVENT_HAVE_INET_NTOP 1
    61113
     114/* Define to 1 if you have the `inet_pton' function. */
     115#define _EVENT_HAVE_INET_PTON 1
     116
    62117/* Define to 1 if you have the <inttypes.h> header file. */
    63118#define _EVENT_HAVE_INTTYPES_H 1
     
    69124#define _EVENT_HAVE_KQUEUE 1
    70125
    71 /* Define to 1 if you have the `nsl' library (-lnsl). */
    72 /* #undef _EVENT_HAVE_LIBNSL */
    73 
    74 /* Define to 1 if you have the `resolv' library (-lresolv). */
    75 #define _EVENT_HAVE_LIBRESOLV 1
    76 
    77 /* Define to 1 if you have the `rt' library (-lrt). */
    78 /* #undef _EVENT_HAVE_LIBRT */
    79 
    80 /* Define to 1 if you have the `socket' library (-lsocket). */
    81 /* #undef _EVENT_HAVE_LIBSOCKET */
     126/* Define if the system has zlib */
     127#define _EVENT_HAVE_LIBZ 1
    82128
    83129/* Define to 1 if you have the <memory.h> header file. */
    84130#define _EVENT_HAVE_MEMORY_H 1
    85131
     132/* Define to 1 if you have the `mmap' function. */
     133#define _EVENT_HAVE_MMAP 1
     134
     135/* Define to 1 if you have the <netdb.h> header file. */
     136#define _EVENT_HAVE_NETDB_H 1
     137
    86138/* Define to 1 if you have the <netinet/in6.h> header file. */
    87 /* #undef _EVENT_HAVE_NETINET_IN6_H */
     139/* #under _EVENT_HAVE_NETINET_IN6_H */
     140
     141/* Define to 1 if you have the <netinet/in.h> header file. */
     142#define _EVENT_HAVE_NETINET_IN_H 1
     143
     144/* Define if the system has openssl */
     145#define _EVENT_HAVE_OPENSSL 1
     146
     147/* Define to 1 if you have the `pipe' function. */
     148#define _EVENT_HAVE_PIPE 1
    88149
    89150/* Define to 1 if you have the `poll' function. */
     
    94155
    95156/* Define to 1 if you have the `port_create' function. */
    96 /* #undef _EVENT_HAVE_PORT_CREATE */
     157/* #under _EVENT_HAVE_PORT_CREATE */
    97158
    98159/* Define to 1 if you have the <port.h> header file. */
    99 /* #undef _EVENT_HAVE_PORT_H */
     160/* #under _EVENT_HAVE_PORT_H */
     161
     162/* Define if you have POSIX threads libraries and header files. */
     163/* #under _EVENT_HAVE_PTHREAD */
     164
     165/* Define if we have pthreads on this system */
     166#define _EVENT_HAVE_PTHREADS 1
     167
     168/* Define to 1 if you have the `putenv' function. */
     169#define _EVENT_HAVE_PUTENV 1
     170
     171/* Define to 1 if the system has the type `sa_family_t'. */
     172#define _EVENT_HAVE_SA_FAMILY_T 1
    100173
    101174/* Define to 1 if you have the `select' function. */
    102175#define _EVENT_HAVE_SELECT 1
    103176
     177/* Define to 1 if you have the `sendfile' function. */
     178#define _EVENT_HAVE_SENDFILE 1
     179
     180/* Define to 1 if you have the `setenv' function. */
     181#define _EVENT_HAVE_SETENV 1
     182
    104183/* Define if F_SETFD is defined in <fcntl.h> */
    105184#define _EVENT_HAVE_SETFD 1
     
    111190#define _EVENT_HAVE_SIGNAL 1
    112191
    113 /* Define to 1 if you have the <signal.h> header file. */
    114 #define _EVENT_HAVE_SIGNAL_H 1
     192/* Define to 1 if you have the `splice' function. */
     193/* #under _EVENT_HAVE_SPLICE */
    115194
    116195/* Define to 1 if you have the <stdarg.h> header file. */
    117196#define _EVENT_HAVE_STDARG_H 1
    118197
     198/* Define to 1 if you have the <stddef.h> header file. */
     199#define _EVENT_HAVE_STDDEF_H 1
     200
    119201/* Define to 1 if you have the <stdint.h> header file. */
    120202#define _EVENT_HAVE_STDINT_H 1
     
    141223#define _EVENT_HAVE_STRTOLL 1
    142224
     225/* Define to 1 if the system has the type `struct addrinfo'. */
     226#define _EVENT_HAVE_STRUCT_ADDRINFO 1
     227
    143228/* Define to 1 if the system has the type `struct in6_addr'. */
    144229#define _EVENT_HAVE_STRUCT_IN6_ADDR 1
    145230
     231/* Define to 1 if `s6_addr16' is a member of `struct in6_addr'. */
     232/* #under _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR16 */
     233
     234/* Define to 1 if `s6_addr32' is a member of `struct in6_addr'. */
     235/* #under _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR32 */
     236
     237/* Define to 1 if the system has the type `struct sockaddr_in6'. */
     238#define _EVENT_HAVE_STRUCT_SOCKADDR_IN6 1
     239
     240/* Define to 1 if `sin6_len' is a member of `struct sockaddr_in6'. */
     241#define _EVENT_HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 1
     242
     243/* Define to 1 if `sin_len' is a member of `struct sockaddr_in'. */
     244#define _EVENT_HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
     245
     246/* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
     247#define _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
     248
     249/* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */
     250/* #under _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY */
     251
    146252/* Define to 1 if you have the <sys/devpoll.h> header file. */
    147 /* #undef _EVENT_HAVE_SYS_DEVPOLL_H */
     253/* #under _EVENT_HAVE_SYS_DEVPOLL_H */
    148254
    149255/* Define to 1 if you have the <sys/epoll.h> header file. */
    150 /* #undef _EVENT_HAVE_SYS_EPOLL_H */
     256/* #under _EVENT_HAVE_SYS_EPOLL_H */
     257
     258/* Define to 1 if you have the <sys/eventfd.h> header file. */
     259/* #under _EVENT_HAVE_SYS_EVENTFD_H */
    151260
    152261/* Define to 1 if you have the <sys/event.h> header file. */
     
    156265#define _EVENT_HAVE_SYS_IOCTL_H 1
    157266
     267/* Define to 1 if you have the <sys/mman.h> header file. */
     268#define _EVENT_HAVE_SYS_MMAN_H 1
     269
    158270/* Define to 1 if you have the <sys/param.h> header file. */
    159271#define _EVENT_HAVE_SYS_PARAM_H 1
     
    165277#define _EVENT_HAVE_SYS_SELECT_H 1
    166278
     279/* Define to 1 if you have the <sys/sendfile.h> header file. */
     280/* #under _EVENT_HAVE_SYS_SENDFILE_H */
     281
    167282/* Define to 1 if you have the <sys/socket.h> header file. */
    168283#define _EVENT_HAVE_SYS_SOCKET_H 1
     
    171286#define _EVENT_HAVE_SYS_STAT_H 1
    172287
     288/* Define to 1 if you have the <sys/sysctl.h> header file. */
     289#define _EVENT_HAVE_SYS_SYSCTL_H 1
     290
    173291/* Define to 1 if you have the <sys/time.h> header file. */
    174292#define _EVENT_HAVE_SYS_TIME_H 1
     
    177295#define _EVENT_HAVE_SYS_TYPES_H 1
    178296
     297/* Define to 1 if you have the <sys/uio.h> header file. */
     298#define _EVENT_HAVE_SYS_UIO_H 1
     299
     300/* Define to 1 if you have the <sys/wait.h> header file. */
     301#define _EVENT_HAVE_SYS_WAIT_H 1
     302
    179303/* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
    180304#define _EVENT_HAVE_TAILQFOREACH 1
     
    204328#define _EVENT_HAVE_UINT8_T 1
    205329
     330/* Define to 1 if the system has the type `uintptr_t'. */
     331#define _EVENT_HAVE_UINTPTR_T 1
     332
    206333/* Define to 1 if you have the <unistd.h> header file. */
    207334#define _EVENT_HAVE_UNISTD_H 1
     335
     336/* Define to 1 if you have the `unsetenv' function. */
     337#define _EVENT_HAVE_UNSETENV 1
    208338
    209339/* Define to 1 if you have the `vasprintf' function. */
     
    218348
    219349/* Numeric representation of the version */
    220 #define _EVENT_NUMERIC_VERSION 0x01040d01
     350#define _EVENT_NUMERIC_VERSION 0x02000a00
    221351
    222352/* Name of package */
     
    235365#define _EVENT_PACKAGE_TARNAME ""
    236366
     367/* Define to the home page for this package. */
     368#define _EVENT_PACKAGE_URL ""
     369
    237370/* Define to the version of this package. */
    238371#define _EVENT_PACKAGE_VERSION ""
    239372
     373/* Define to necessary symbol if this constant uses a non-standard name on
     374   your system. */
     375/* #under _EVENT_PTHREAD_CREATE_JOINABLE */
     376
    240377/* The size of `int', as computed by sizeof. */
    241378#define _EVENT_SIZEOF_INT 4
    242379
    243380/* The size of `long', as computed by sizeof. */
    244 #define _EVENT_SIZEOF_LONG 4
     381#define _EVENT_SIZEOF_LONG 8
    245382
    246383/* The size of `long long', as computed by sizeof. */
    247384#define _EVENT_SIZEOF_LONG_LONG 8
    248385
     386/* The size of `pthread_t', as computed by sizeof. */
     387#define _EVENT_SIZEOF_PTHREAD_T 8
     388
    249389/* The size of `short', as computed by sizeof. */
    250390#define _EVENT_SIZEOF_SHORT 2
    251391
     392/* The size of `size_t', as computed by sizeof. */
     393#define _EVENT_SIZEOF_SIZE_T 8
     394
     395/* The size of `void *', as computed by sizeof. */
     396#define _EVENT_SIZEOF_VOID_P 8
     397
    252398/* Define to 1 if you have the ANSI C header files. */
    253399#define _EVENT_STDC_HEADERS 1
     
    257403
    258404/* Version number of package */
    259 #define _EVENT_VERSION "1.4.13-stable-dev"
     405#define _EVENT_VERSION "2.0.10-stable"
    260406
    261407/* Define to appropriate substitue if compiler doesnt have __func__ */
    262 /* #undef _EVENT___func__ */
     408/* #under _EVENT___func__ */
    263409
    264410/* Define to empty if `const' does not conform to ANSI C. */
    265 /* #undef _EVENT_const */
     411/* #under _EVENT_const */
    266412
    267413/* Define to `__inline__' or `__inline' if that's what the C compiler
    268414   calls it, or to nothing if 'inline' is not supported under any name.  */
    269 #ifndef _EVENT___cplusplus
    270 /* #undef _EVENT_inline */
     415#ifndef __cplusplus
     416/* #under _EVENT_inline */
    271417#endif
    272418
    273419/* Define to `int' if <sys/types.h> does not define. */
    274 /* #undef _EVENT_pid_t */
     420/* #under _EVENT_pid_t */
    275421
    276422/* Define to `unsigned int' if <sys/types.h> does not define. */
    277 /* #undef _EVENT_size_t */
     423/* #under _EVENT_size_t */
    278424
    279425/* Define to unsigned int if you dont have it */
    280 /* #undef _EVENT_socklen_t */
     426/* #under _EVENT_socklen_t */
     427
     428/* Define to `int' if <sys/types.h> does not define. */
     429/* #under _EVENT_ssize_t */
    281430#endif
Note: See TracChangeset for help on using the changeset viewer.