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