Home | History | Annotate | Line # | Download | only in libevent
      1      1.1  christos /* evconfig-private.h template - see "Configuration Header Templates" */
      2      1.1  christos /* in AC manual.  Kevin Bowling <kevin.bowling (at) kev009.com */
      3      1.1  christos #ifndef EVCONFIG_PRIVATE_H_INCLUDED_
      4      1.1  christos #define EVCONFIG_PRIVATE_H_INCLUDED_
      5      1.1  christos 
      6      1.1  christos /* Enable extensions on AIX 3, Interix.  */
      7      1.1  christos #ifndef _ALL_SOURCE
      8      1.1  christos # undef _ALL_SOURCE
      9      1.1  christos #endif
     10      1.1  christos /* Enable GNU extensions on systems that have them.  */
     11      1.1  christos #ifndef _GNU_SOURCE
     12      1.1  christos # undef _GNU_SOURCE
     13      1.1  christos #endif
     14      1.1  christos /* Enable threading extensions on Solaris.  */
     15      1.1  christos #ifndef _POSIX_PTHREAD_SEMANTICS
     16      1.1  christos # undef _POSIX_PTHREAD_SEMANTICS
     17      1.1  christos #endif
     18      1.1  christos /* Enable extensions on HP NonStop.  */
     19      1.1  christos #ifndef _TANDEM_SOURCE
     20      1.1  christos # undef _TANDEM_SOURCE
     21      1.1  christos #endif
     22      1.1  christos /* Enable general extensions on Solaris.  */
     23      1.1  christos #ifndef __EXTENSIONS__
     24      1.1  christos # undef __EXTENSIONS__
     25      1.1  christos #endif
     26      1.1  christos 
     27      1.1  christos /* Number of bits in a file offset, on hosts where this is settable. */
     28      1.1  christos #undef _FILE_OFFSET_BITS
     29      1.1  christos /* Define for large files, on AIX-style hosts. */
     30      1.1  christos #undef _LARGE_FILES
     31      1.1  christos 
     32      1.1  christos /* Define to 1 if on MINIX. */
     33      1.1  christos #ifndef _MINIX
     34      1.1  christos #undef _MINIX
     35      1.1  christos #endif
     36      1.1  christos 
     37      1.1  christos /* Define to 2 if the system does not provide POSIX.1 features except with
     38      1.1  christos    this defined. */
     39      1.1  christos #ifndef _POSIX_1_SOURCE
     40      1.1  christos #undef _POSIX_1_SOURCE
     41      1.1  christos #endif
     42      1.1  christos 
     43      1.1  christos /* Define to 1 if you need to in order for `stat' and other things to work. */
     44      1.1  christos #ifndef _POSIX_SOURCE
     45      1.1  christos #undef _POSIX_SOURCE
     46      1.1  christos #endif
     47      1.1  christos 
     48  1.1.1.2  christos /* Enable POSIX.2 extensions on QNX for getopt */
     49  1.1.1.2  christos #ifdef __QNX__
     50  1.1.1.2  christos # ifndef __EXT_POSIX2
     51  1.1.1.2  christos #  define __EXT_POSIX2
     52  1.1.1.2  christos # endif
     53  1.1.1.2  christos #endif
     54  1.1.1.2  christos 
     55      1.1  christos #endif
     56