diff options
Diffstat (limited to 'lib/bind/isc/isc/platform.h')
-rw-r--r-- | lib/bind/isc/isc/platform.h | 53 |
1 files changed, 51 insertions, 2 deletions
diff --git a/lib/bind/isc/isc/platform.h b/lib/bind/isc/isc/platform.h index 2ac5042..7dab495 100644 --- a/lib/bind/isc/isc/platform.h +++ b/lib/bind/isc/isc/platform.h @@ -1,6 +1,5 @@ /* $FreeBSD$ */ - /* * Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2003 Internet Software Consortium. @@ -18,7 +17,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: platform.h.in,v 1.48.84.4 2010-06-03 23:47:49 tbox Exp $ */ +/* $Id: platform.h.in,v 1.56 2010-12-18 01:56:23 each Exp $ */ #ifndef ISC_PLATFORM_H #define ISC_PLATFORM_H 1 @@ -149,6 +148,11 @@ */ #undef ISC_PLATFORM_HAVEDEVPOLL +/*! \brief + * Define if we want to log backtrace + */ +#define ISC_PLATFORM_USEBACKTRACE 1 + /* *** Printing. ***/ @@ -218,6 +222,12 @@ /* + * Defined to <gssapi_krb5.h> or <gssapi/gssapi_krb5.h> for how to + * include the GSSAPI KRB5 header. + */ + + +/* * Defined to <krb5.h> or <krb5/krb5.h> for how to include * the KRB5 header. */ @@ -253,7 +263,14 @@ * If the "xadd" operation is available on this architecture, * ISC_PLATFORM_HAVEXADD will be defined. */ +/* + * FreeBSD local modification, preserve this over upgrades + */ +#if defined (__i386__) || defined (__amd64__) || defined (__ia64__) #define ISC_PLATFORM_HAVEXADD 1 +#else +#undef ISC_PLATFORM_HAVEXADD +#endif /* * If the "xaddq" operation (64bit xadd) is available on this architecture, @@ -272,18 +289,39 @@ * If the "atomic swap" operation is available on this architecture, * ISC_PLATFORM_HAVEATOMICSTORE" will be defined. */ +/* + * FreeBSD local modification, preserve this over upgrades + */ +#if defined (__i386__) || defined (__amd64__) || defined (__ia64__) #define ISC_PLATFORM_HAVEATOMICSTORE 1 +#else +#undef ISC_PLATFORM_HAVEATOMICSTORE +#endif /* * If the "compare-and-exchange" operation is available on this architecture, * ISC_PLATFORM_HAVECMPXCHG will be defined. */ +/* + * FreeBSD local modification, preserve this over upgrades + */ +#if defined (__i386__) || defined (__amd64__) || defined (__ia64__) #define ISC_PLATFORM_HAVECMPXCHG 1 +#else +#undef ISC_PLATFORM_HAVECMPXCHG +#endif /* * Define if gcc ASM extension is available */ +/* + * FreeBSD local modification, preserve this over upgrades + */ +#if defined (__i386__) || defined (__amd64__) || defined (__ia64__) #define ISC_PLATFORM_USEGCCASM 1 +#else +#undef ISC_PLATFORM_USEGCCASM +#endif /* * Define if Tru64 style ASM syntax must be used. @@ -300,6 +338,17 @@ */ #define ISC_PLATFORM_HAVESTRINGSH 1 +/* + * Define if the hash functions must be provided by OpenSSL. + */ +#undef ISC_PLATFORM_OPENSSLHASH + +/* + * Defines for the noreturn attribute. + */ +#define ISC_PLATFORM_NORETURN_PRE +#define ISC_PLATFORM_NORETURN_POST __attribute__((noreturn)) + /*** *** Windows dll support. ***/ |