diff options
author | Shawn Routhier <sar@isc.org> | 2011-06-27 16:00:32 +0000 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2011-06-27 16:00:32 +0000 |
commit | 7cfeb9160de5c62e091429395c76ec7e28ac2f72 (patch) | |
tree | 5fec6f2bda301e11aad4f40306e2b2bcce86ded3 /includes/config.h.in | |
parent | ade10315e1b6cd8795da0e53e03d58ce41b91dfa (diff) | |
download | isc-dhcp-7cfeb9160de5c62e091429395c76ec7e28ac2f72.tar.gz |
In Solaris 11 switch to using sockets instead of DLPI, thanks
to a patch form Oracle. [ISC-Bugs #24634].
Diffstat (limited to 'includes/config.h.in')
-rw-r--r-- | includes/config.h.in | 45 |
1 files changed, 29 insertions, 16 deletions
diff --git a/includes/config.h.in b/includes/config.h.in index 0b00ea4c..b162ee85 100644 --- a/includes/config.h.in +++ b/includes/config.h.in @@ -133,19 +133,21 @@ /* Define to include server activity tracing support. */ #undef TRACING +/* Define to 1 to use the standard BSD socket API. */ +#undef USE_SOCKETS + +/* Define to 1 to enable IPv4 packet info support. */ +#undef USE_V4_PKTINFO + /* Version number of package */ #undef VERSION -/* Define to 1 if on AIX 3. - System headers sometimes define this. - We just want to avoid a redefinition error message. */ -#ifndef _ALL_SOURCE -# undef _ALL_SOURCE -#endif - -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# undef _GNU_SOURCE +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ +#if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +#elif ! defined __LITTLE_ENDIAN__ +# undef WORDS_BIGENDIAN #endif /* Define to 1 if on MINIX. */ @@ -189,30 +191,41 @@ #undef _POSIX_SOURCE /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, - <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the #define below would cause a syntax error. */ #undef _UINT32_T /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, - <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the #define below would cause a syntax error. */ #undef _UINT64_T /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, - <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the #define below would cause a syntax error. */ #undef _UINT8_T -/* Enable extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# undef __EXTENSIONS__ +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE #endif +/* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif +/* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif + /* Define to the type of a signed integer type of width exactly 16 bits if such a type exists and the standard includes do not define it. */ |