config.h.win32 revision fc63119c8b7aa8827fad9e3e45e50c69bc2630e8
/*
* Copyright (C) 2004, 2006-2009, 2011-2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.h.win32,v 1.28 2011/10/30 23:39:39 marka Exp $ */
/*
* win32 configuration file
* All definitions, declarations, macros and includes are
* specific to the requirements of the Windows NT and Windows 2000
* platforms
*/
/* Define to empty if the keyword does not work. */
/* #undef const */
/* Define as __inline if that's what the C compiler calls it. */
/* #undef size_t */
/*
* ANSI C compliance enabled
*/
/*
* Silence compiler warnings about using strcpy and friends.
*/
/*
* Use 32 bit time.
*/
/*
* Minimum version is Windows XP
*/
#if _WIN32_WINNT < 0x0501
#if NTDDI_VERSION < 0x05010100
/* Define if you have the ANSI C header files. */
/* define on DEC OSF to enable 4.4BSD style sa_len support */
/* #undef _SOCKADDR_LEN */
/* define if your system needs pthread_init() before using pthreads */
/* #undef NEED_PTHREAD_INIT */
/* define if your system has sigwait() */
/* #undef HAVE_SIGWAIT */
/* define on Solaris to get sigwait() to work using pthreads semantics */
/* #undef _POSIX_PTHREAD_SEMANTICS */
/* define if LinuxThreads is in use */
/* #undef HAVE_LINUXTHREADS */
/* define if catgets() is available */
/* #undef HAVE_CATGETS */
/* define if you have the NET_RT_IFLIST sysctl variable. */
/* #undef NEED_XPG4_2_BEFORE_SOCKET_H */
/* define if you need to #define _XOPEN_SOURCE_ENTENDED before including
*/
/* #undef NEED_XSE_BEFORE_SOCKET_H */
/* Define if you have the <fcntl.h> header file. */
/* Define if you have the <unistd.h> header file. */
/* Define if you have the c_r library (-lc_r). */
/* #undef HAVE_LIBC_R */
/* Define if you have the nsl library (-lnsl). */
/* #undef HAVE_LIBNSL */
/* Define if you have the pthread library (-lpthread). */
/* #undef HAVE_LIBPTHREAD */
/* Define if you have the socket library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
/* Define if you have h_errno */
/* Define if you have RSA_generate_key(). */
/* Define if you have DSA_generate_parameters(). */
/* Define if you have DH_generate_parameters(). */
/* Define if you have getpassphrase in the C library. */
char *getpassphrase(const char *);
/*
* Define to 1 if you want to use the DLZ "dlopen" driver
* (which has the same name on windows even though it uses
* LoadLibrary() instead of dlopen()).
*/
* at the owner, group and other levels. These don't exist in NT
* We'll just map them all to the NT equivalent
*/
/*
* WIN32 specials until some other way of dealing with these is decided.
*/
#if _MSC_VER < 1900
#if _MSC_VER <= 1400
#else
#else
/* #define EAFNOSUPPORT EINVAL */
/* for the config file */
#else
/* BINDInstall defines it with another type but doesn't use it */
/*
* Set up the Version Information
*/
/* We actually are using the CryptAPI and not a device */
/*
* Applications may need to get the configuration path
*/
/*
* Make the number of available sockets large
* The number of sockets needed can get large and memory's cheap
* This must be defined before winsock2.h gets included as the
* macro is used there.
*/
/*
* main() is hooked
*/
/*
* Configure sensible arguments
*/
/*
* Define if libxml2 is present
*/
/** define if struct addrinfo exists */
/** define if getaddrinfo() exists */
/** define if gai_strerror() exists */
/* return type of gai_strerror */
#define IRS_GAISTRERROR_RETURN_T char *
/* Define to the buffer length type used by getnameinfo(3). */
/* Define to the flags type used by getnameinfo(3). */
/* Define to enable the "filter-aaaa-on-v4" and "filter-aaaa-on-v6" options.
*/
/* Define to enable "rrset-order fixed" syntax. */
/* Define to 1 if you have the `EVP_sha256' function. */
/* Define to 1 if you have the `EVP_sha384' function. */
/* Define to 1 if you have the `EVP_sha512' function. */
/* Define if OpenSSL includes DSA support */
/* Define if OpenSSL includes ECDSA support */
/* Define if your OpenSSL version supports GOST. */
/* Define if your PKCS11 provider supports ECDSA. */
/* Define if your PKCS11 provider supports GOST. */
/* Define if GOST private keys are encoded in ASN.1. */
/* Define if your OpenSSL version supports EVP AES */
/* Define if your OpenSSL version supports AES */
/* HMAC_*() return ints */
/* Use AES for Source Identity Token generation */
@AES_SIT@
/* Use HMAC-SHA1 for Source Identity Token generation */
/* Use HMAC-SHA256 for Source Identity Token generation */
/* Define to 1 if you have the `readline' function. */
/* Build with GeoIP support */
/* define if idnkit support is to be included. */
@WITH_IDN@
/* Build with GeoIP City IPv6 support */
/* Build with GeoIP Country IPv6 support */
/* Define to enable rpz-nsdname rules. */
/* Define to enable rpz-nsip rules. */
/* From enable developer */
/* Large system tuning */
/*
* Define to nothing if C supports flexible array members, and to 1 if it does
* not. That way, with a declaration like `struct s { int n; double
* d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
* compilers. When computing the size of such an object, don't use 'sizeof
* (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
* instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
* MSVC and with C++ compilers.
*/
/* Avoid warnings with strlen() */
/* Get SRCID */
#include "srcid.h"