1f6d66bc7SKevin Bowling/* evconfig-private.h template - see "Configuration Header Templates" */ 2868f8887SKevin Bowling/* in AC manual. Kevin Bowling <[email protected] */ 3946b5841SNick Mathewson#ifndef EVCONFIG_PRIVATE_H_INCLUDED_ 4946b5841SNick Mathewson#define EVCONFIG_PRIVATE_H_INCLUDED_ 5868f8887SKevin Bowling 6868f8887SKevin Bowling/* Enable extensions on AIX 3, Interix. */ 7868f8887SKevin Bowling#ifndef _ALL_SOURCE 8868f8887SKevin Bowling# undef _ALL_SOURCE 9868f8887SKevin Bowling#endif 10868f8887SKevin Bowling/* Enable GNU extensions on systems that have them. */ 11868f8887SKevin Bowling#ifndef _GNU_SOURCE 12868f8887SKevin Bowling# undef _GNU_SOURCE 13868f8887SKevin Bowling#endif 14868f8887SKevin Bowling/* Enable threading extensions on Solaris. */ 15868f8887SKevin Bowling#ifndef _POSIX_PTHREAD_SEMANTICS 16868f8887SKevin Bowling# undef _POSIX_PTHREAD_SEMANTICS 17868f8887SKevin Bowling#endif 18868f8887SKevin Bowling/* Enable extensions on HP NonStop. */ 19868f8887SKevin Bowling#ifndef _TANDEM_SOURCE 20868f8887SKevin Bowling# undef _TANDEM_SOURCE 21868f8887SKevin Bowling#endif 22868f8887SKevin Bowling/* Enable general extensions on Solaris. */ 23868f8887SKevin Bowling#ifndef __EXTENSIONS__ 24868f8887SKevin Bowling# undef __EXTENSIONS__ 25868f8887SKevin Bowling#endif 26868f8887SKevin Bowling 278a231040SNick Mathewson/* Number of bits in a file offset, on hosts where this is settable. */ 288a231040SNick Mathewson#undef _FILE_OFFSET_BITS 298a231040SNick Mathewson/* Define for large files, on AIX-style hosts. */ 308a231040SNick Mathewson#undef _LARGE_FILES 318a231040SNick Mathewson 32868f8887SKevin Bowling/* Define to 1 if on MINIX. */ 33868f8887SKevin Bowling#ifndef _MINIX 34868f8887SKevin Bowling#undef _MINIX 35868f8887SKevin Bowling#endif 36868f8887SKevin Bowling 37868f8887SKevin Bowling/* Define to 2 if the system does not provide POSIX.1 features except with 38868f8887SKevin Bowling this defined. */ 39868f8887SKevin Bowling#ifndef _POSIX_1_SOURCE 40868f8887SKevin Bowling#undef _POSIX_1_SOURCE 41868f8887SKevin Bowling#endif 42868f8887SKevin Bowling 43868f8887SKevin Bowling/* Define to 1 if you need to in order for `stat' and other things to work. */ 44868f8887SKevin Bowling#ifndef _POSIX_SOURCE 45868f8887SKevin Bowling#undef _POSIX_SOURCE 46868f8887SKevin Bowling#endif 47dc628c03SKevin Bowling 48*a2176f2cSMaya Rashish/* Enable POSIX.2 extensions on QNX for getopt */ 49*a2176f2cSMaya Rashish#ifdef __QNX__ 50*a2176f2cSMaya Rashish# ifndef __EXT_POSIX2 51*a2176f2cSMaya Rashish# define __EXT_POSIX2 52*a2176f2cSMaya Rashish# endif 53*a2176f2cSMaya Rashish#endif 54*a2176f2cSMaya Rashish 55dc628c03SKevin Bowling#endif 56