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