/** @file dk4conf.h Default definitions. */ #ifndef DK4_CONF_H_INCLUDED /** Protection against multiple inclusions. */ #define DK4_CONF_H_INCLUDED 1 #ifndef DK4_ON_WINDOWS #ifdef _WIN32 #define DK4_ON_WINDOWS 1 #endif #endif #ifndef DK4_HAVE_INLINE #ifdef _WIN32 #define DK4_HAVE_INLINE 0 #else #define DK4_HAVE_INLINE 1 #endif #endif #ifndef DK4_HAVE_LIBNETSNMP #ifdef _WIN32 #define DK4_HAVE_LIBNETSNMP 0 #else #define DK4_HAVE_LIBNETSNMP 1 #endif #endif #ifndef DK4_HAVE_SNMP_ENABLE_FILELOG #ifdef _WIN32 #define DK4_HAVE_SNMP_ENABLE_FILELOG 0 #else #define DK4_HAVE_SNMP_ENABLE_FILELOG 1 #endif #endif #ifndef DK4_HAVE_SNMP_DISABLE_FILELOG #ifdef _WIN32 #define DK4_HAVE_SNMP_DISABLE_FILELOG 0 #else #define DK4_HAVE_SNMP_DISABLE_FILELOG 1 #endif #endif #ifndef DK4_HAVE_SNMP_DISABLE_SYSLOG #ifdef _WIN32 #define DK4_HAVE_SNMP_DISABLE_SYSLOG 0 #else #define DK4_HAVE_SNMP_DISABLE_SYSLOG 1 #endif #endif #ifndef DK4_HAVE_SNMP_DISABLE_STDERRLOG #ifdef _WIN32 #define DK4_HAVE_SNMP_DISABLE_STDERRLOG 0 #else #define DK4_HAVE_SNMP_DISABLE_STDERRLOG 1 #endif #endif #ifndef DK4_HAVE_ERRNO_H /** DK4 version of HAVE_ERRNO_H. */ #define DK4_HAVE_ERRNO_H 1 #endif #ifndef DK4_HAVE_UNISTD_H /** DK4 version of HAVE_UNISTD_H. */ #ifdef _WIN32 #define DK4_HAVE_UNISTD_H 0 #else #define DK4_HAVE_UNISTD_H 1 #endif #endif #ifndef DK4_HAVE_WINDOWS_H #ifdef _WIN32 #define DK4_HAVE_WINDOWS_H 1 #else #define DK4_HAVE_WINDOWS_H 0 #endif #endif #ifndef DK4_HAVE_WINSOCK2_H #ifdef _WIN32 #define DK4_HAVE_WINSOCK2_H 1 #else #define DK4_HAVE_WINSOCK2_H 0 #endif #endif #ifndef DK4_HAVE_WS2TCPIP_H #ifdef _WIN32 #define DK4_HAVE_WS2TCPIP_H 1 #else #define DK4_HAVE_WS2TCPIP_H 0 #endif #endif #ifndef DK4_HAVE_SYS_SELECT_H #ifdef _WIN32 #define DK4_HAVE_SYS_SELECT_H 0 #else #define DK4_HAVE_SYS_SELECT_H 1 #endif #endif #ifndef DK4_HAVE_PROCESS_H /** DK4 version of HAVE_PROCESS_H. */ #ifdef _WIN32 #define DK4_HAVE_PROCESS_H 1 #else #define DK4_HAVE_PROCESS_H 0 #endif #endif #ifndef DK4_HAVE_CTYPE_H /** DK4 version of HAVE_CTYPE_H. */ #define DK4_HAVE_CTYPE_H 1 #endif #ifndef DK4_HAVE_WCHAR_H /** DK4 version of HAVE_WCHAR_H. */ #define DK4_HAVE_WCHAR_H 1 #endif #ifndef DK4_HAVE_WCTYPE_H /** DK4 version of HAVE_WCTYPE_H. */ #define DK4_HAVE_WCTYPE_H 1 #endif #ifndef DK4_HAVE_STDINT_H /** DK4 version of HAVE_STDINT_H. */ #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_STDINT_H 1 #else #define DK4_HAVE_STDINT_H 0 #endif #else #define DK4_HAVE_STDINT_H 1 #endif #endif #ifndef DK4_HAVE_STDLIB_H #ifdef _WIN32 #define DK4_HAVE_STDLIB_H 1 #else #define DK4_HAVE_STDLIB_H 1 #endif #endif #ifndef DK4_HAVE_INTTYPES_H /** DK4 version of HAVE_INTTYPES_H. */ #ifdef _WIN32 #define DK4_HAVE_INTTYPES_H 0 #else #define DK4_HAVE_INTTYPES_H 1 #endif #endif #ifndef DK4_HAVE_LIMITS_H /** DK4 version of HAVE_LIMITS_H. */ #define DK4_HAVE_LIMITS_H 1 #endif #ifndef DK4_HAVE_STRING_H /** DK4 version of HAVE_STRING_H. */ #define DK4_HAVE_STRING_H 1 #endif #ifndef DK4_HAVE_ASSERT_H /** DK4 version of HAVE_ASSERT_H. */ #define DK4_HAVE_ASSERT_H 1 #endif #ifndef DK4_HAVE_SIGNAL_H /** DK4 version of HAVE_SIGNAL_H. */ #define DK4_HAVE_SIGNAL_H 1 #endif #ifndef DK4_HAVE_MATH_H /** DK4 version of HAVE_MATH_H. */ #define DK4_HAVE_MATH_H 1 #endif #ifndef DK4_HAVE_FENV_H /** DK4 version of HAVE_FENV_H. */ #define DK4_HAVE_FENV_H 1 #endif #ifndef DK4_HAVE_FLOAT_H /** DK4 version of HAVE_FLOAT_H. */ #ifdef _WIN32 #define DK4_HAVE_FLOAT_H 1 #else #define DK4_HAVE_FLOAT_H 0 #endif #endif #ifndef DK4_HAVE_COMPLEX_H /** DK4 version of HAVE_COMPLEX_H. */ #define DK4_HAVE_COMPLEX_H 1 #endif #ifndef DK4_HAVE_TIME_H /** DK4 version of HAVE_TIME_H. */ #define DK4_HAVE_TIME_H 1 #endif #ifndef DK4_HAVE_TYPE_STAT64 #ifdef _WIN32 #define DK4_HAVE_TYPE_STAT64 0 #else #define DK4_HAVE_TYPE_STAT64 1 #endif #endif #ifndef DK4_HAVE_UCHAR_H #ifdef _WIN32 #define DK4_HAVE_UCHAR_H 0 #else #define DK4_HAVE_UCHAR_H 1 #endif #endif #ifndef DK4_HAVE_SETJMP_H /** DK4 version of HAVE_SETJMP_H. */ #define DK4_HAVE_SETJMP_H 1 #endif #ifndef DK4_HAVE_LOCALE_H /** DK4 version of HAVE_LOCALE_H. */ #define DK4_HAVE_LOCALE_H 1 #endif #ifndef DK4_HAVE_ISO646_H /** DK4 version of HAVE_ISO646_H. */ #define DK4_HAVE_ISO646_H 0 #endif #ifndef DK4_HAVE_STDALIGN_H /** DK4 version of HAVE_STDALIGN_H. */ #define DK4_HAVE_STDALIGN_H 0 #endif #ifndef DK4_HAVE_STDARG_H /** DK4 version of HAVE_STDARG_H. */ #define DK4_HAVE_STDARG_H 1 #endif #ifndef DK4_HAVE_STDATOMIC_H /** DK4 version of HAVE_STDATOMIC_H. */ #ifdef _WIN32 #define DK4_HAVE_STDATOMIC_H 0 #else #define DK4_HAVE_STDATOMIC_H 1 #endif #endif #ifndef DK4_HAVE_STDBOOL_H /** DK4 version of HAVE_STDBOOL_H. */ #ifdef _WIN32 #define DK4_HAVE_STDBOOL_H 0 #else #define DK4_HAVE_STDBOOL_H 1 #endif #endif #ifndef DK4_HAVE_STDDEF_H /** DK4 version of HAVE_STDDEF_H. */ #define DK4_HAVE_STDDEF_H 1 #endif #ifndef DK4_HAVE_STDNORETURN_H /** DK4 version of HAVE_STDNORETURN_H. */ #define DK4_HAVE_STDNORETURN_H 0 #endif #ifndef DK4_HAVE_TGMATH_H /** DK4 version of HAVE_TGMATH_H. */ #ifdef _WIN32 #define DK4_HAVE_TGMATH_H 0 #else #define DK4_HAVE_TGMATH_H 1 #endif #endif #ifndef DK4_HAVE_THREADS_H /** DK4 version of HAVE_THREADS_H. */ #define DK4_HAVE_THREADS_H 0 #endif #ifndef DK4_HAVE_SYS_TYPES_H /** DK4 version of HAVE_SYS_TYPES_H. */ #define DK4_HAVE_SYS_TYPES_H 1 #endif #ifndef DK4_HAVE_SYS_SOCKET_H #ifdef _WIN32 #define DK4_HAVE_SYS_SOCKET_H 0 #else #define DK4_HAVE_SYS_SOCKET_H 1 #endif #endif #ifndef DK4_HAVE_SYS_UN_H #ifdef _WIN32 #define DK4_HAVE_SYS_UN_H 0 #else #define DK4_HAVE_SYS_UN_H 1 #endif #endif #ifndef DK4_HAVE_NETINET_IN_H #ifdef _WIN32 #define DK4_HAVE_NETINET_IN_H 0 #else #define DK4_HAVE_NETINET_IN_H 1 #endif #endif #ifndef DK4_HAVE_NETINET_IN6_H #ifdef _WIN32 #define DK4_HAVE_NETINET_IN6_H 0 #else #define DK4_HAVE_NETINET_IN6_H 1 #endif #endif #ifndef DK4_HAVE_NETDB_H #ifdef _WIN32 #define DK4_HAVE_NETDB_H 0 #else #define DK4_HAVE_NETDB_H 1 #endif #endif #ifndef DK4_HAVE_ARPA_INET_H #ifdef _WIN32 #define DK4_HAVE_ARPA_INET_H 0 #else #define DK4_HAVE_ARPA_INET_H 1 #endif #endif #ifndef DK4_HAVE_PWD_H #ifdef _WIN32 #define DK4_HAVE_PWD_H 0 #else #define DK4_HAVE_PWD_H 1 #endif #endif #ifndef DK4_HAVE_SYS_PARAM_H /** DK4 version of HAVE_SYS_PARAM_H. */ #ifdef _WIN32 #define DK4_HAVE_SYS_PARAM_H 0 #else #define DK4_HAVE_SYS_PARAM_H 1 #endif #endif #ifndef DK4_HAVE_SYS_STAT_H /** DK4 version of HAVE_SYS_STAT_H. */ #define DK4_HAVE_SYS_STAT_H 1 #endif #ifndef DK4_HAVE_SYS_TIME_H /** DK4 version of HAVE_SYS_TIME_H. */ #define DK4_HAVE_SYS_TIME_H 1 #endif #ifndef DK4_HAVE_STRINGS_H /** DK4 version of HAVE_STRINGS_H. */ #ifdef _WIN32 #define DK4_HAVE_STRINGS_H 0 #else #define DK4_HAVE_STRINGS_H 1 #endif #endif #ifndef DK4_HAVE_IO_H /** DK4 version of HAVE_IO_H. */ #ifdef _WIN32 #define DK4_HAVE_IO_H 1 #else #define DK4_HAVE_IO_H 0 #endif #endif #ifndef DK4_HAVE_FCNTL_H #define DK4_HAVE_FCNTL_H 1 #endif #ifndef DK4_HAVE_SHARE_H #ifdef _WIN32 #define DK4_HAVE_SHARE_H 1 #else #define DK4_HAVE_SHARE_H 0 #endif #endif #ifndef DK4_HAVE_BIOS_H /** DK4 version of HAVE_BIOS_H. */ #ifdef _WIN32 #define DK4_HAVE_BIOS_H 1 #else #define DK4_HAVE_BIOS_H 0 #endif #endif #ifndef DK4_HAVE_DOS_H /** DK4 version of HAVE_DOS_H. */ #ifdef _WIN32 #define DK4_HAVE_DOS_H 1 #else #define DK4_HAVE_DOS_H 0 #endif #endif #ifndef DK4_HAVE_ALLOC_H /** DK4 version of HAVE_ALLOC_H. */ #define DK4_HAVE_ALLOC_H 0 #endif #ifndef DK4_HAVE_MALLOC_H /** DK4 version of HAVE_MALLOC_H. */ #define DK4_HAVE_MALLOC_H 1 #endif #ifndef DK4_HAVE_DIRENT_H #ifdef _WIN32 #define DK4_HAVE_DIRENT_H 0 #else #define DK4_HAVE_DIRENT_H 1 #endif #endif #ifndef DK4_HAVE_DIRECT_H #ifdef _WIN32 #define DK4_HAVE_DIRECT_H 1 #else #define DK4_HAVE_DIRECT_H 0 #endif #endif #ifndef DK4_HAVE_LONG_LONG #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_LONG_LONG 1 #else #define DK4_HAVE_LONG_LONG 0 #endif #else #define DK4_HAVE_LONG_LONG 1 #endif #endif #ifndef DK4_HAVE_LONG_DOUBLE #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_LONG_DOUBLE 1 #else #define DK4_HAVE_LONG_DOUBLE 0 #endif #else #define DK4_HAVE_LONG_DOUBLE 1 #endif #endif #ifndef DK4_HAVE_INT8_T #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_INT8_T 1 #else #define DK4_HAVE_INT8_T 0 #endif #else #define DK4_HAVE_INT8_T 1 #endif #endif #ifndef DK4_HAVE_INT16_T #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_INT16_T 1 #else #define DK4_HAVE_INT16_T 0 #endif #else #define DK4_HAVE_INT16_T 1 #endif #endif #ifndef DK4_HAVE_INT32_T #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_INT32_T 1 #else #define DK4_HAVE_INT32_T 0 #endif #else #define DK4_HAVE_INT32_T 1 #endif #endif #ifndef DK4_HAVE_UINT8_T #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_UINT8_T 1 #else #define DK4_HAVE_UINT8_T 0 #endif #else #define DK4_HAVE_UINT8_T 1 #endif #endif #ifndef DK4_HAVE_UINT16_T #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_UINT16_T 1 #else #define DK4_HAVE_UINT16_T 0 #endif #else #define DK4_HAVE_UINT16_T 1 #endif #endif #ifndef DK4_HAVE_UINT32_T #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_UINT32_T 1 #else #define DK4_HAVE_UINT32_T 0 #endif #else #define DK4_HAVE_UINT32_T 1 #endif #endif #ifndef DK4_HAVE_SSIZE_T #ifdef _WIN32 #define DK4_HAVE_SSIZE_T 0 #else #define DK4_HAVE_SSIZE_T 1 #endif #endif #ifndef DK4_HAVE_INTMAX_T #ifdef _WIN32 #if _MSC_VER >= 1800 #define DK4_HAVE_INTMAX_T 1 #else #define DK4_HAVE_INTMAX_T 0 #endif #else #define DK4_HAVE_INTMAX_T 1 #endif #endif #ifndef DK4_HAVE_VOLATILE #ifdef _WIN32 #define DK4_HAVE_VOLATILE 1 #else #define DK4_HAVE_VOLATILE 1 #endif #endif #ifndef DK4_HAVE_SIG_ATOMIC_T #ifdef _WIN32 #define DK4_HAVE_SIG_ATOMIC_T 1 #else #define DK4_HAVE_SIG_ATOMIC_T 1 #endif #endif #ifndef DK4_SIZEOF_SHORT /** DK4 version of SIZEOF_SHORT. */ #define DK4_SIZEOF_SHORT 2 #endif #ifndef DK4_SIZEOF_INT /** DK4 version of SIZEOF_INT. */ #define DK4_SIZEOF_INT 4 #endif #ifndef DK4_SIZEOF_SIZE_T /** DK4 version of SIZEOF_SIZE_T. */ #ifdef _WIN32 #ifdef _WIN64 #define DK4_SIZEOF_SIZE_T 4 #else #define DK4_SIZEOF_SIZE_T 8 #endif #else #define DK4_SIZEOF_SIZE_T 8 #endif #endif #ifndef DK4_SIZEOF_LONG /** DK4 version of SIZEOF_LONG. */ #define DK4_SIZEOF_LONG 4 #endif #ifndef DK4_SIZEOF_LONG_LONG /** DK4 version of SIZEOF_LONG_LONG. */ #define DK4_SIZEOF_LONG_LONG 8 #endif #ifndef DK4_SIZEOF_INTMAX_T /** DK4 version of SIZEOF_INTMAX_T. */ #define DK4_SIZEOF_INTMAX_T 8 #endif #ifndef DK4_SIZEOF_DOUBLE /** DK4 version of SIZEOF_DOUBLE. */ #define DK4_SIZEOF_DOUBLE 8 #endif #ifndef DK4_SIZEOF_LONG_DOUBLE /** DK4 version of SIZEOF_LONG_DOUBLE. */ #ifdef _WIN32 #define DK4_SIZEOF_LONG_DOUBLE 8 #else #define DK4_SIZEOF_LONG_DOUBLE 12 #endif #endif #ifndef DK4_SIZEOF_WCHAR_T /** DK4 version of SIZEOF_WCHAR_T. */ #ifdef _WIN32 #define DK4_SIZEOF_WCHAR_T 2 #else #define DK4_SIZEOF_WCHAR_T 4 #endif #endif #ifndef DK4_SIZEOF_WXCHAR #ifdef _WIN32 #ifdef _UNICODE #define DK4_SIZEOF_WXCHAR 2 #else #define DK4_SIZEOF_WXCHAR 1 #endif #else #define DK4_SIZEOF_WXCHAR 1 #endif #endif #ifndef DK4_TIME_WITH_SYS_TIME #ifdef _WIN32 #define DK4_TIME_WITH_SYS_TIME 0 #else #define DK4_TIME_WITH_SYS_TIME 1 #endif #endif #ifndef DK4_WORDS_BIGENDIAN #define DK4_WORDS_BIGENDIAN 0 #endif #ifndef DK4_HAVE_MEMSET #define DK4_HAVE_MEMSET 1 #endif #ifndef DK4_HAVE_BZERO #ifdef _WIN32 #define DK4_HAVE_BZERO 0 #else #define DK4_HAVE_BZERO 1 #endif #endif #ifndef DK4_HAVE_MEMCPY #define DK4_HAVE_MEMCPY 1 #endif #ifndef DK4_HAVE_BCOPY #ifdef _WIN32 #define DK4_HAVE_BCOPY 1 #else #define DK4_HAVE_BCOPY 0 #endif #endif #ifndef DK4_HAVE_MEMCMP #define DK4_HAVE_MEMCMP 1 #endif #ifndef DK4_HAVE_BCMP #ifdef _WIN32 #define DK4_HAVE_BCMP 0 #else #define DK4_HAVE_BCMP 1 #endif #endif #ifndef DK4_HAVE_MALLOC #define DK4_HAVE_MALLOC 1 #endif #ifndef DK4_HAVE_CALLOC #define DK4_HAVE_CALLOC 1 #endif #ifndef DK4_HAVE_FREE #define DK4_HAVE_FREE 1 #endif #ifndef DK4_HAVE_STRCPY_S #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_STRCPY_S 1 #else #define DK4_HAVE_STRCPY_S 0 #endif #else #define DK4_HAVE_STRCPY_S 0 #endif #endif #ifndef DK4_HAVE_STRCAT_S #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_STRCAT_S 1 #else #define DK4_HAVE_STRCAT_S 0 #endif #else #define DK4_HAVE_STRCAT_S 0 #endif #endif #ifndef DK4_HAVE_STRCASECMP #ifdef _WIN32 #define DK4_HAVE_STRCASECMP 0 #else #define DK4_HAVE_STRCASECMP 1 #endif #endif #ifndef DK4_HAVE_STRICMP #ifdef _WIN32 #define DK4_HAVE_STRICMP 0 #else #define DK4_HAVE_STRICMP 0 #endif #endif #ifndef DK4_HAVE__STRICMP #ifdef _WIN32 #define DK4_HAVE__STRICMP 1 #else #define DK4_HAVE__STRICMP 0 #endif #endif #ifndef DK4_HAVE_WCSLEN #define DK4_HAVE_WCSLEN 1 #endif #ifndef DK4_HAVE_WCSCPY_S #ifdef _WIN32 #define DK4_HAVE_WCSCPY_S 1 #else #define DK4_HAVE_WCSCPY_S 0 #endif #endif #ifndef DK4_HAVE_WCSCPY #define DK4_HAVE_WCSCPY 1 #endif #ifndef DK4_HAVE_WCSCAT_S #ifdef _WIN32 #define DK4_HAVE_WCSCAT_S 1 #else #define DK4_HAVE_WCSCAT_S 0 #endif #endif #ifndef DK4_HAVE_WCSCAT #define DK4_HAVE_WCSCAT 1 #endif #ifndef DK4_HAVE_WCSCHR #define DK4_HAVE_WCSCHR 1 #endif #ifndef DK4_HAVE_WCSRCHR #define DK4_HAVE_WCSRCHR 1 #endif #ifndef DK4_HAVE_WCSNCMP #define DK4_HAVE_WCSNCMP 1 #endif #ifndef DK4_HAVE__WCSNCMP #define DK4_HAVE__WCSNCMP 0 #endif #ifndef DK4_HAVE_WCSCMP #define DK4_HAVE_WCSCMP 1 #endif #ifndef DK4_HAVE__WCSCMP #define DK4_HAVE__WCSCMP 0 #endif #ifndef DK4_HAVE_WCSCASECMP #ifdef _WIN32 #define DK4_HAVE_WCSCASECMP 0 #else #define DK4_HAVE_WCSCASECMP 1 #endif #endif #ifndef DK4_HAVE__WCSCASECMP #define DK4_HAVE__WCSCASECMP 0 #endif #ifndef DK4_HAVE_WCSICMP #ifdef _WIN32 #define DK4_HAVE_WCSICMP 0 #else #define DK4_HAVE_WCSICMP 0 #endif #endif #ifndef DK4_HAVE__WCSICMP #ifdef _WIN32 #define DK4_HAVE__WCSICMP 1 #else #define DK4_HAVE__WCSICMP 0 #endif #endif #ifndef DK4_HAVE_GETPID #ifdef _WIN32 #define DK4_HAVE_GETPID 0 #else #define DK4_HAVE_GETPID 1 #endif #endif #ifndef DK4_HAVE_READLINK #ifdef _WIN32 #define DK4_HAVE_READLINK 0 #else #define DK4_HAVE_READLINK 1 #endif #endif #ifndef DK4_HAVE_GETENV #ifdef _WIN32 #define DK4_HAVE_GETENV 1 #else #define DK4_HAVE_GETENV 1 #endif #endif #ifndef DK4_HAVE_GETENV_S #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_GETENV_S 1 #else #define DK4_HAVE_GETENV_S 0 #endif #else #define DK4_HAVE_GETENV_S 0 #endif #endif #ifndef DK4_HAVE_SETLOCALE #ifdef _WIN32 #define DK4_HAVE_SETLOCALE 1 #else #define DK4_HAVE_SETLOCALE 1 #endif #endif #ifndef DK4_HAVE_SETSOCKOPT #ifdef _WIN32 #define DK4_HAVE_SETSOCKOPT 1 #else #define DK4_HAVE_SETSOCKOPT 1 #endif #endif #ifndef DK4_HAVE_SELECT #ifdef _WIN32 #define DK4_HAVE_SELECT 1 #else #define DK4_HAVE_SELECT 1 #endif #endif #ifndef DK4_HAVE_GETADDRINFO #ifdef _WIN32 #if _MSC_VER >= 1700 #if DK4_WINDOWS_LEGACY #define DK4_HAVE_GETADDRINFO 0 #else #define DK4_HAVE_GETADDRINFO 1 #endif #else #define DK4_HAVE_GETADDRINFO 0 #endif #else #define DK4_HAVE_GETADDRINFO 1 #endif #endif #ifndef DK4_HAVE_GETNAMEINFO #ifdef _WIN32 #if _MSC_VER >= 1700 #if DK4_WINDOWS_LEGACY #define DK4_HAVE_GETNAMEINFO 0 #else #define DK4_HAVE_GETNAMEINFO 1 #endif #else #define DK4_HAVE_GETNAMEINFO 0 #endif #else #define DK4_HAVE_GETNAMEINFO 1 #endif #endif #ifndef DK4_HAVE_GETHOSTBYNAME #ifdef _WIN32 #define DK4_HAVE_GETHOSTBYNAME 1 #else #define DK4_HAVE_GETHOSTBYNAME 1 #endif #endif #ifndef DK4_HAVE_HTONS #ifdef _WIN32 #define DK4_HAVE_HTONS 1 #else #define DK4_HAVE_HTONS 1 #endif #endif #ifndef DK4_HAVE_NTOHS #ifdef _WIN32 #define DK4_HAVE_NTOHS 1 #else #define DK4_HAVE_NTOHS 1 #endif #endif #ifndef DK4_HAVE_HTONL #ifdef _WIN32 #define DK4_HAVE_HTONL 1 #else #define DK4_HAVE_HTONL 1 #endif #endif #ifndef DK4_HAVE_NTOHL #ifdef _WIN32 #define DK4_HAVE_NTOHL 1 #else #define DK4_HAVE_NTOHL 1 #endif #endif #ifndef DK4_HAVE_GETCWD #ifdef _WIN32 #define DK4_HAVE_GETCWD 0 #else #define DK4_HAVE_GETCWD 1 #endif #endif #ifndef DK4_HAVE__GETCWD #ifdef _WIN32 #define DK4_HAVE__GETCWD 1 #else #define DK4_HAVE__GETCWD 0 #endif #endif #ifndef DK4_HAVE__WGETCWD #ifdef _WIN32 #define DK4_HAVE__WGETCWD 1 #else #define DK4_HAVE__WGETCWD 0 #endif #endif #ifndef DK4_HAVE_INET_ADDR #ifdef _WIN32 #define DK4_HAVE_INET_ADDR 1 #else #define DK4_HAVE_INET_ADDR 1 #endif #endif #ifndef DK4_HAVE_INET_ATON #ifdef _WIN32 #define DK4_HAVE_INET_ATON 0 #else #define DK4_HAVE_INET_ATON 1 #endif #endif #ifndef DK4_HAVE_INET_PTON #ifdef _WIN32 #if _MSC_VER >= 1700 #if DK4_WINDOWS_LEGACY #define DK4_HAVE_INET_PTON 0 #else #define DK4_HAVE_INET_PTON 1 #endif #else #define DK4_HAVE_INET_PTON 0 #endif #else #define DK4_HAVE_INET_PTON 1 #endif #endif #ifndef DK4_HAVE_INET_NTOP #ifdef _WIN32 #if _MSC_VER >= 1700 #if DK4_WINDOWS_LEGACY #define DK4_HAVE_INET_NTOP 0 #else #define DK4_HAVE_INET_NTOP 1 #endif #else #define DK4_HAVE_INET_NTOP 0 #endif #else #define DK4_HAVE_INET_NTOP 1 #endif #endif #ifndef DK4_HAVE_PROC_PID_EXE #define DK4_HAVE_PROC_PID_EXE 0 #endif #ifndef DK4_HAVE_GETEXECNAME #define DK4_HAVE_GETEXECNAME 0 #endif #ifndef DK4_HAVE_LSTAT #ifdef _WIN32 #define DK4_HAVE_LSTAT 0 #else #define DK4_HAVE_LSTAT 1 #endif #endif #ifndef DK4_HAVE_STAT64 #ifdef _WIN32 #define DK4_HAVE_STAT64 0 #else #define DK4_HAVE_STAT64 1 #endif #endif #ifndef DK4_HAVE_LSTAT64 #ifdef _WIN32 #define DK4_HAVE_LSTAT64 0 #else #define DK4_HAVE_LSTAT64 1 #endif #endif #ifndef DK4_HAVE_LOCALTIME_R #ifdef _WIN32 #define DK4_HAVE_LOCALTIME_R 0 #else #define DK4_HAVE_LOCALTIME_R 1 #endif #endif #ifndef DK4_HAVE_GETEUID #ifdef _WIN32 #define DK4_HAVE_GETEUID 0 #else #define DK4_HAVE_GETEUID 1 #endif #endif #ifndef DK4_HAVE_FOPEN64 #ifdef _WIN32 #define DK4_HAVE_FOPEN64 0 #else #define DK4_HAVE_FOPEN64 0 #endif #endif #ifndef DK4_HAVE_FOPEN_S #ifdef _WIN32 #define DK4_HAVE_FOPEN_S 1 #else #define DK4_HAVE_FOPEN_S 0 #endif #endif #ifndef DK4_HAVE__WFOPEN #ifdef _WIN32 #define DK4_HAVE__WFOPEN 1 #else #define DK4_HAVE__WFOPEN 0 #endif #endif #ifndef DK4_HAVE__WFOPEN64 #ifdef _WIN32 #define DK4_HAVE__WFOPEN64 0 #else #define DK4_HAVE__WFOPEN64 0 #endif #endif #ifndef DK4_HAVE__WFOPEN_S #ifdef _WIN32 #define DK4_HAVE__WFOPEN_S 1 #else #define DK4_HAVE__WFOPEN_S 0 #endif #endif #ifndef DK4_HAVE_FPUTWS #ifdef _WIN32 #define DK4_HAVE_FPUTWS 1 #else #define DK4_HAVE_FPUTWS 0 #endif #endif #ifndef DK4_HAVE_FPUTWC #ifdef _WIN32 #define DK4_HAVE_FPUTWC 1 #else #define DK4_HAVE_FPUTWC 0 #endif #endif #ifndef DK4_HAVE_SETBUFFER #ifdef _WIN32 #define DK4_HAVE_SETBUFFER 0 #else #define DK4_HAVE_SETBUFFER 1 #endif #endif #ifndef DK4_HAVE_SETBUF #ifdef _WIN32 #define DK4_HAVE_SETBUF 1 #else #define DK4_HAVE_SETBUF 1 #endif #endif #ifndef DK4_HAVE_SETVBUF #ifdef _WIN32 #define DK4_HAVE_SETVBUF 1 #else #define DK4_HAVE_SETVBUF 1 #endif #endif #ifndef DK4_HAVE_ISFINITE #ifdef _WIN32 #define DK4_HAVE_ISFINITE 0 #else #define DK4_HAVE_ISFINITE 1 #endif #endif #ifndef DK4_HAVE_ISNORMAL #ifdef _WIN32 #define DK4_HAVE_ISNORMAL 0 #else #define DK4_HAVE_ISNORMAL 1 #endif #endif #ifndef DK4_HAVE__FINITE #ifdef _WIN32 #define DK4_HAVE__FINITE 1 #else #define DK4_HAVE__FINITE 0 #endif #endif #ifndef DK4_HAVE_FILENO #ifdef _WIN32 #define DK4_HAVE_FILENO 0 #else #define DK4_HAVE_FILENO 1 #endif #endif #ifndef DK4_HAVE__FILENO #ifdef _WIN32 #define DK4_HAVE__FILENO 1 #else #define DK4_HAVE__FILENO 0 #endif #endif #ifndef DK4_HAVE_SETMODE #ifdef _WIN32 #define DK4_HAVE_SETMODE 0 #else #define DK4_HAVE_SETMODE 1 #endif #endif #ifndef DK4_HAVE__SETMODE #ifdef _WIN32 #define DK4_HAVE__SETMODE 1 #else #define DK4_HAVE__SETMODE 0 #endif #endif #ifndef DK4_HAVE_ISATTY #ifdef _WIN32 #define DK4_HAVE_ISATTY 0 #else #define DK4_HAVE_ISATTY 1 #endif #endif #ifndef DK4_HAVE__ISATTY #ifdef _WIN32 #define DK4_HAVE__ISATTY 1 #else #define DK4_HAVE__ISATTY 0 #endif #endif #ifndef DK4_HAVE_STRTOD #define DK4_HAVE_STRTOD 1 #endif #ifndef DK4_HAVE__STRTOD #define DK4_HAVE__STRTOD 0 #endif #ifndef DK4_HAVE_WCSTOD #define DK4_HAVE_WCSTOD 1 #endif #ifndef DK4_HAVE__WCSTOD #define DK4_HAVE__WCSTOD 0 #endif #ifndef DK4_HAVE__SNPRINTF_S #ifdef _WIN32 #define DK4_HAVE__SNPRINTF_S 1 #else #define DK4_HAVE__SNPRINTF_S 0 #endif #endif #ifndef DK4_HAVE__SNPRINTF #ifdef _WIN32 #define DK4_HAVE__SNPRINTF 1 #else #define DK4_HAVE__SNPRINTF 0 #endif #endif #ifndef DK4_HAVE_SNPRINTF #ifdef _WIN32 #define DK4_HAVE_SNPRINTF 0 #else #define DK4_HAVE_SNPRINTF 1 #endif #endif #ifndef DK4_HAVE__SNWPRINTF_S #ifdef _WIN32 #define DK4_HAVE__SNWPRINTF_S 1 #else #define DK4_HAVE__SNWPRINTF_S 0 #endif #endif #ifndef DK4_HAVE__SNWPRINTF #ifdef _WIN32 #define DK4_HAVE__SNWPRINTF 1 #else #define DK4_HAVE__SNWPRINTF 0 #endif #endif #ifndef DK4_HAVE_SNWPRINTF #ifdef _WIN32 #define DK4_HAVE_SNWPRINTF 0 #else #define DK4_HAVE_SNWPRINTF 1 #endif #endif #ifndef DK4_HAVE_SWPRINTF #ifdef _WIN32 #define DK4_HAVE_SWPRINTF 1 #else #define DK4_HAVE_SWPRINTF 1 #endif #endif #ifndef DK4_HAVE_UNLINK #ifdef _WIN32 #define DK4_HAVE_UNLINK 0 #else #define DK4_HAVE_UNLINK 1 #endif #endif #ifndef DK4_HAVE__UNLINK #ifdef _WIN32 #define DK4_HAVE__UNLINK 1 #else #define DK4_HAVE__UNLINK 0 #endif #endif #ifndef DK4_HAVE_WUNLINK #ifdef _WIN32 #define DK4_HAVE_WUNLINK 0 #else #define DK4_HAVE_WUNLINK 1 #endif #endif #ifndef DK4_HAVE__WUNLINK #ifdef _WIN32 #define DK4_HAVE__WUNLINK 1 #else #define DK4_HAVE__WUNLINK 0 #endif #endif #ifndef DK4_HAVE_MKDIR #ifdef _WIN32 #define DK4_HAVE_MKDIR 0 #else #define DK4_HAVE_MKDIR 1 #endif #endif #ifndef DK4_HAVE__MKDIR #ifdef _WIN32 #define DK4_HAVE__MKDIR 1 #else #define DK4_HAVE__MKDIR 0 #endif #endif #ifndef DK4_HAVE_WMKDIR #ifdef _WIN32 #define DK4_HAVE_WMKDIR 0 #else #define DK4_HAVE_WMKDIR 1 #endif #endif #ifndef DK4_HAVE__WMKDIR #ifdef _WIN32 #define DK4_HAVE__WMKDIR 1 #else #define DK4_HAVE__WMKDIR 0 #endif #endif #ifndef DK4_HAVE_SIGACTION #ifdef _WIN32 #define DK4_HAVE_SIGACTION 0 #else #define DK4_HAVE_SIGACTION 1 #endif #endif #ifndef DK4_HAVE_SIGSET #ifdef _WIN32 #define DK4_HAVE_SIGSET 0 #else #define DK4_HAVE_SIGSET 1 #endif #endif #ifndef DK4_HAVE_SIGNAL #ifdef _WIN32 #define DK4_HAVE_SIGNAL 1 #else #define DK4_HAVE_SIGNAL 1 #endif #endif #ifndef DK4_HAVE_SIGPROCMASK #ifdef _WIN32 #define DK4_HAVE_SIGPROCMASK 0 #else #define DK4_HAVE_SIGPROCMASK 1 #endif #endif #ifndef DK4_HAVE_SIGEMPTYSET #ifdef _WIN32 #define DK4_HAVE_SIGEMPTYSET 0 #else #define DK4_HAVE_SIGEMPTYSET 1 #endif #endif #ifndef DK4_HAVE_SETPWENT #ifdef _WIN32 #define DK4_HAVE_SETPWENT 0 #else #define DK4_HAVE_SETPWENT 1 #endif #endif #ifndef DK4_HAVE_GETPWENT #ifdef _WIN32 #define DK4_HAVE_GETPWENT 0 #else #define DK4_HAVE_GETPWENT 1 #endif #endif #ifndef DK4_HAVE_ENDPWENT #ifdef _WIN32 #define DK4_HAVE_ENDPWENT 0 #else #define DK4_HAVE_ENDPWENT 1 #endif #endif #ifndef DK4_HAVE_GETPWNAM #ifdef _WIN32 #define DK4_HAVE_GETPWNAM 0 #else #define DK4_HAVE_GETPWNAM 1 #endif #endif #ifndef DK4_HAVE_GETPWUID #ifdef _WIN32 #define DK4_HAVE_GETPWUID 0 #else #define DK4_HAVE_GETPWUID 1 #endif #endif #ifndef DK4_HAVE_SETGRENT #ifdef _WIN32 #define DK4_HAVE_SETGRENT 0 #else #define DK4_HAVE_SETGRENT 1 #endif #endif #ifndef DK4_HAVE_GETGRENT #ifdef _WIN32 #define DK4_HAVE_GETGRENT 0 #else #define DK4_HAVE_GETGRENT 1 #endif #endif #ifndef DK4_HAVE_GETGRGID #ifdef _WIN32 #define DK4_HAVE_GETGRGID 0 #else #define DK4_HAVE_GETGRGID 1 #endif #endif #ifndef DK4_HAVE_GETGRNAM #ifdef _WIN32 #define DK4_HAVE_GETGRNAM 0 #else #define DK4_HAVE_GETGRNAM 1 #endif #endif #ifndef DK4_HAVE_ENDGRENT #ifdef _WIN32 #define DK4_HAVE_ENDGRENT 0 #else #define DK4_HAVE_ENDGRENT 1 #endif #endif #ifndef DK4_HAVE_SETUID #ifdef _WIN32 #define DK4_HAVE_SETUID 0 #else #define DK4_HAVE_SETUID 1 #endif #endif #ifndef DK4_HAVE_SETGID #ifdef _WIN32 #define DK4_HAVE_SETGID 0 #else #define DK4_HAVE_SETGID 1 #endif #endif #ifndef DK4_HAVE_SETPGRP #ifdef _WIN32 #define DK4_HAVE_SETPGRP 0 #else #define DK4_HAVE_SETPGRP 1 #endif #endif #ifndef DK4_HAVE_SETSID #ifdef _WIN32 #define DK4_HAVE_SETSID 0 #else #define DK4_HAVE_SETSID 1 #endif #endif #ifndef DK4_HAVE_SYS_RESOURCE_H #ifdef _WIN32 #define DK4_HAVE_SYS_RESOURCE_H 0 #else #define DK4_HAVE_SYS_RESOURCE_H 1 #endif #endif #ifndef DK4_HAVE_GETRLIMIT #ifdef _WIN32 #define DK4_HAVE_GETRLIMIT 0 #else #define DK4_HAVE_GETRLIMIT 1 #endif #endif #ifndef DK4_HAVE_SYSLOG #ifdef _WIN32 #define DK4_HAVE_SYSLOG 0 #else #define DK4_HAVE_SYSLOG 1 #endif #endif #ifndef DK4_HAVE_SYSLOG_H #ifdef _WIN32 #define DK4_HAVE_SYSLOG_H 0 #else #define DK4_HAVE_SYSLOG_H 1 #endif #endif #ifndef DK4_HAVE__READ #ifdef _WIN32 #define DK4_HAVE__READ 1 #else #define DK4_HAVE__READ 0 #endif #endif #ifndef DK4_HAVE__WRITE #ifdef _WIN32 #define DK4_HAVE__WRITE 1 #else #define DK4_HAVE__WRITE 0 #endif #endif #ifndef DK4_HAVE_READ #ifdef _WIN32 #define DK4_HAVE_READ 0 #else #define DK4_HAVE_READ 1 #endif #endif #ifndef DK4_HAVE_WRITE #ifdef _WIN32 #define DK4_HAVE_WRITE 0 #else #define DK4_HAVE_WRITE 1 #endif #endif #ifndef DK4_HAVE_PNG_GET_PIXELS_PER_INCH #ifdef _WIN32 #define DK4_HAVE_PNG_GET_PIXELS_PER_INCH 1 #else #define DK4_HAVE_PNG_GET_PIXELS_PER_INCH 1 #endif #endif #ifndef DK4_HAVE_PNG_H #ifdef _WIN32 #define DK4_HAVE_PNG_H 1 #else #define DK4_HAVE_PNG_H 1 #endif #endif #ifndef DK4_HAVE_JPEGLIB_H #ifdef _WIN32 #define DK4_HAVE_JPEGLIB_H 1 #else #define DK4_HAVE_JPEGLIB_H 1 #endif #endif #ifndef DK4_HAVE_TIFF_H #ifdef _WIN32 #define DK4_HAVE_TIFF_H 1 #else #define DK4_HAVE_TIFF_H 1 #endif #endif #ifndef DK4_HAVE_SHA224 #ifdef _WIN32 #define DK4_HAVE_SHA224 1 #else #define DK4_HAVE_SHA224 1 #endif #endif #ifndef DK4_HAVE_SHA256 #ifdef _WIN32 #define DK4_HAVE_SHA256 1 #else #define DK4_HAVE_SHA256 1 #endif #endif #ifndef DK4_HAVE_SHA384 #ifdef _WIN32 #define DK4_HAVE_SHA384 1 #else #define DK4_HAVE_SHA384 1 #endif #endif #ifndef DK4_HAVE_SHA512 #ifdef _WIN32 #define DK4_HAVE_SHA512 1 #else #define DK4_HAVE_SHA512 1 #endif #endif #ifndef DK4_HAVE_RAND_EGD #ifdef _WIN32 #define DK4_HAVE_RAND_EGD 0 #else #define DK4_HAVE_RAND_EGD 1 #endif #endif #ifndef DK4_HAVE_RMDIR #ifdef _WIN32 #define DK4_HAVE_RMDIR 0 #else #define DK4_HAVE_RMDIR 1 #endif #endif #ifndef DK4_HAVE__RMDIR #ifdef _WIN32 #define DK4_HAVE__RMDIR 1 #else #define DK4_HAVE__RMDIR 0 #endif #endif #ifndef DK4_HAVE_WRMDIR #ifdef _WIN32 #define DK4_HAVE_WRMDIR 0 #else #define DK4_HAVE_WRMDIR 1 #endif #endif #ifndef DK4_HAVE__WRMDIR #ifdef _WIN32 #define DK4_HAVE__WRMDIR 1 #else #define DK4_HAVE__WRMDIR 0 #endif #endif #ifndef DK4_HAVE_GETFINALPATHNAMEBYHANDLE #ifdef _WIN32 #if _MSC_VER >= 1700 #if DK4_WINDOWS_LEGACY #define DK4_HAVE_GETFINALPATHNAMEBYHANDLE 0 #else #define DK4_HAVE_GETFINALPATHNAMEBYHANDLE 1 #endif #else #define DK4_HAVE_GETFINALPATHNAMEBYHANDLE 0 #endif #else #define DK4_HAVE_GETFINALPATHNAMEBYHANDLE 0 #endif #endif #ifndef DK4_HAVE_DB_CURSOR_C_GET #ifdef _WIN32 #define DK4_HAVE_DB_CURSOR_C_GET 0 #else #define DK4_HAVE_DB_CURSOR_C_GET 1 #endif #endif #ifndef DK4_HAVE_CHMOD #ifdef _WIN32 #define DK4_HAVE_CHMOD 0 #else #define DK4_HAVE_CHMOD 1 #endif #endif #ifndef DK4_HAVE_CHOWN #ifdef _WIN32 #define DK4_HAVE_CHOWN 0 #else #define DK4_HAVE_CHOWN 1 #endif #endif #ifndef DK4_HAVE_REPARSE_DATA_BUFFER #ifdef _WIN32 #if _MSC_VER >= 1800 #define DK4_HAVE_REPARSE_DATA_BUFFER 1 #else #define DK4_HAVE_REPARSE_DATA_BUFFER 0 #endif #else #define DK4_HAVE_REPARSE_DATA_BUFFER 0 #endif #endif #if DK4_HAVE_NTIFS_H #ifdef _WIN32 #if _MSC_VER >= 1800 #define DK4_HAVE_NTIFS_H 1 #else #define DK4_HAVE_NTIFS_H 0 #endif #else #define DK4_HAVE_NTIFS_H 0 #endif #endif #ifndef DK4_HAVE_DEV_T #ifdef _WIN32 #define DK4_HAVE_DEV_T 0 #else #define DK4_HAVE_DEV_T 1 #endif #endif #ifndef DK4_HAVE__DEV_T #ifdef _WIN32 #define DK4_HAVE__DEV_T 1 #else #define DK4_HAVE__DEV_T 0 #endif #endif #ifndef DK4_HAVE_INO_T #ifdef _WIN32 #define DK4_HAVE_INO_T 0 #else #define DK4_HAVE_INO_T 1 #endif #endif #ifndef DK4_HAVE__INO_T #ifdef _WIN32 #define DK4_HAVE__INO_T 1 #else #define DK4_HAVE__INO_T 0 #endif #endif #ifndef DK4_HAVE_INO64_T #ifdef _WIN32 #define DK4_HAVE_INO64_T 0 #else #define DK4_HAVE_INO64_T 1 #endif #endif #ifndef DK4_HAVE__INO64_T #define DK4_HAVE__INO64_T 0 #endif #ifndef DK4_HAVE_MODE_T #ifdef _WIN32 #define DK4_HAVE_MODE_T 0 #else #define DK4_HAVE_MODE_T 1 #endif #endif #ifndef DK4_HAVE_NLINK_T #ifdef _WIN32 #define DK4_HAVE_NLINK_T 0 #else #define DK4_HAVE_NLINK_T 1 #endif #endif #ifndef DK4_HAVE_UID_T #ifdef _WIN32 #define DK4_HAVE_UID_T 0 #else #define DK4_HAVE_UID_T 1 #endif #endif #ifndef DK4_HAVE_GID_T #ifdef _WIN32 #define DK4_HAVE_GID_T 0 #else #define DK4_HAVE_GID_T 1 #endif #endif #ifndef DK4_HAVE_GRP_H #ifdef _WIN32 #define DK4_HAVE_GRP_H 0 #else #define DK4_HAVE_GRP_H 1 #endif #endif #ifndef DK4_HAVE_OFF_T #ifdef _WIN32 #define DK4_HAVE_OFF_T 0 #else #define DK4_HAVE_OFF_T 1 #endif #endif #ifndef DK4_HAVE__OFF_T #ifdef _WIN32 #define DK4_HAVE__OFF_T 1 #else #define DK4_HAVE__OFF_T 0 #endif #endif #ifndef DK4_HAVE_OFF64_T #ifdef _WIN32 #define DK4_HAVE_OFF64_T 0 #else #define DK4_HAVE_OFF64_T 1 #endif #endif #ifndef DK_HAVE__OFF64_T #define DK4_HAVE__OFF64_T 0 #endif #ifndef DK4_HAVE_BLKSIZE_T #ifdef _WIN32 #define DK4_HAVE_BLKSIZE_T 0 #else #define DK4_HAVE_BLKSIZE_T 1 #endif #endif #ifndef DK4_HAVE_BLKCNT_T #ifdef _WIN32 #define DK4_HAVE_BLKCNT_T 0 #else #define DK4_HAVE_BLKCNT_T 1 #endif #endif #ifndef DK4_HAVE_FPOS_T #ifdef _WIN32 #define DK4_HAVE_FPOS_T 1 #else #define DK4_HAVE_FPOS_T 1 #endif #endif #ifndef DK4_HAVE__FPOS_T #ifdef _WIN32 #define DK4_HAVE__FPOS_T 0 #else #define DK4_HAVE__FPOS_T 0 #endif #endif #ifndef DK4_HAVE_SOCKLEN_T #ifdef _WIN32 #if _MSC_VER >= 1700 #define DK4_HAVE_SOCKLEN_T 1 #else #define DK4_HAVE_SOCKLEN_T 0 #endif #else #define DK4_HAVE_SOCKLEN_T 1 #endif #endif #ifndef DK4_HAVE_STRUCT_SOCKADDR_IN #ifdef _WIN32 #define DK4_HAVE_STRUCT_SOCKADDR_IN 1 #else #define DK4_HAVE_STRUCT_SOCKADDR_IN 1 #endif #endif #ifndef DK4_HAVE_STRUCT_SOCKADDR_IN6 #ifdef _WIN32 #if DK4_WINDOWS_LEGACY #define DK4_HAVE_STRUCT_SOCKADDR_IN6 0 #else #define DK4_HAVE_STRUCT_SOCKADDR_IN6 1 #endif #else #define DK4_HAVE_STRUCT_SOCKADDR_IN6 1 #endif #endif #ifndef DK4_HAVE_STRUCT_SOCKADDR_UN #ifdef _WIN32 #define DK4_HAVE_STRUCT_SOCKADDR_UN 0 #else #define DK4_HAVE_STRUCT_SOCKADDR_UN 1 #endif #endif #ifndef DK4_HAVE_STRUCT_ADDRINFO #ifdef _WIN32 #define DK4_HAVE_STRUCT_ADDRINFO 0 #else #define DK4_HAVE_STRUCT_ADDRINFO 1 #endif #endif #ifndef DK4_HAVE_STRUCT_SOCKADDR_STORAGE #ifdef _WIN32 #define DK4_HAVE_STRUCT_SOCKADDR_STORAGE 0 #else #define DK4_HAVE_STRUCT_SOCKADDR_STORAGE 1 #endif #endif #ifndef DK4_HAVE_IN_ADDR #ifdef _WIN32 #define DK4_HAVE_IN_ADDR 1 #else #define DK4_HAVE_IN_ADDR 0 #endif #endif #ifndef DK4_HAVE_IN6_ADDR #ifdef _WIN32 #define DK4_HAVE_IN6_ADDR 1 #else #define DK4_HAVE_IN6_ADDR 0 #endif #endif #ifndef DK4_HAVE_LARGEFILE64_SOURCE #ifdef _WIN32 #define DK4_HAVE_LARGEFILE64_SOURCE 0 #else #define DK4_HAVE_LARGEFILE64_SOURCE 1 #endif #endif #ifndef DK4_USE_FALLBACK_NUMERIC_LIMITS #define DK4_USE_FALLBACK_NUMERIC_LIMITS 0 #endif #ifndef DK4_USE_WINDOWS_LOCAL_ALLOC #ifdef _WIN32 #define DK4_USE_WINDOWS_LOCAL_ALLOC 1 #else #define DK4_USE_WINDOWS_LOCAL_ALLOC 0 #endif #endif #ifndef DK4_HAVE_BACKSLASH_AS_SEP #ifdef _WIN32 #define DK4_HAVE_BACKSLASH_AS_SEP 1 #else #define DK4_HAVE_BACKSLASH_AS_SEP 0 #endif #endif #ifndef DK4_HAVE_LINE_END_CR_NL #ifdef _WIN32 #define DK4_HAVE_LINE_END_CR_NL 1 #else #define DK4_HAVE_LINE_END_CR_NL 0 #endif #endif #ifndef DK4_HAVE_CASE_INSENSITIVE_PATHNAMES #ifdef _WIN32 #define DK4_HAVE_CASE_INSENSITIVE_PATHNAMES 1 #else #define DK4_HAVE_CASE_INSENSITIVE_PATHNAMES 0 #endif #endif #ifndef DK4_HAVE_CASE_INSENSITIVE_USERNAMES #ifdef _WIN32 #define DK4_HAVE_CASE_INSENSITIVE_USERNAMES 1 #else #define DK4_HAVE_CASE_INSENSITIVE_USERNAMES 0 #endif #endif #ifndef DK4_HAVE_FILE_DEVINO #ifdef _WIN32 #define DK4_HAVE_FILE_DEVINO 0 #else #define DK4_HAVE_FILE_DEVINO 1 #endif #endif #ifndef DK4_HAVE_FILE_UIDGID #ifdef _WIN32 #define DK4_HAVE_FILE_UIDGID 0 #else #define DK4_HAVE_FILE_UIDGID 1 #endif #endif #ifndef DK4_HAVE_FILE_BLKSIZECNT #ifdef _WIN32 #define DK4_HAVE_FILE_BLKSIZECNT 0 #else #define DK4_HAVE_FILE_BLKSIZECNT 1 #endif #endif #ifndef DK4_HAVE_FILE_ATIMECTIME #ifdef _WIN32 #define DK4_HAVE_FILE_ATIMECTIME 0 #else #define DK4_HAVE_FILE_ATIMECTIME 1 #endif #endif #ifndef DK4_HAVE_STRERROR #ifdef _WIN32 #define DK4_HAVE_STRERROR 1 #else #define DK4_HAVE_STRERROR 1 #endif #endif #ifndef DK4_HAVE_STRERROR_R #ifdef _WIN32 #define DK4_HAVE_STRERROR_R 1 #else #define DK4_HAVE_STRERROR_R 1 #endif #endif #ifndef DK4_HAVE_RAND #ifdef _WIN32 #define DK4_HAVE_RAND 1 #else #define DK4_HAVE_RAND 0 #endif #endif #ifndef DK4_HAVE_SRAND #ifdef _WIN32 #define DK4_HAVE_SRAND 0 #else #define DK4_HAVE_SRAND 1 #endif #endif #ifndef DK4_HAVE_INITSTATE #ifdef _WIN32 #define DK4_HAVE_INITSTATE 0 #else #define DK4_HAVE_INITSTATE 1 #endif #endif #ifndef DK4_HAVE_SETSTATE #ifdef _WIN32 #define DK4_HAVE_SETSTATE 0 #else #define DK4_HAVE_SETSTATE 1 #endif #endif #ifndef DK4_HAVE_RANDOM #ifdef _WIN32 #define DK4_HAVE_RANDOM 0 #else #define DK4_HAVE_RANDOM 1 #endif #endif #ifndef DK4_HAVE_LRAND48 #ifdef _WIN32 #define DK4_HAVE_LRAND48 0 #else #define DK4_HAVE_LRAND48 1 #endif #endif #ifndef DK4_HAVE_SOCKET #ifdef _WIN32 #define DK4_HAVE_SOCKET 1 #else #define DK4_HAVE_SOCKET 1 #endif #endif #ifndef DK4_HAVE_NRAND48 #ifdef _WIN32 #define DK4_HAVE_NRAND48 0 #else #define DK4_HAVE_NRAND48 1 #endif #endif #ifndef DK4_HAVE_OPENSSL_RAND_H #define DK4_HAVE_OPENSSL_RAND_H 1 #endif #ifndef DK4_HAVE_OPENSSL_MD5_H #define DK4_HAVE_OPENSSL_MD5_H 1 #endif #ifndef DK4_HAVE_OPENSSL_SHA_H #define DK4_HAVE_OPENSSL_SHA_H 1 #endif #ifndef DK4_HAVE_OPENSSL_RIPEMD_H #define DK4_HAVE_OPENSSL_RIPEMD_H 1 #endif #ifndef DK4_HAVE_DB_H #ifdef _WIN32 #define DK4_HAVE_DB_H 0 #else #define DK4_HAVE_DB_H 1 #endif #endif #ifndef DK4_HAVE_NDBM_H #ifdef _WIN32 #define DK4_HAVE_NDBM_H 0 #else #define DK4_HAVE_NDBM_H 0 #endif #endif #ifndef DK4_HAVE_CRNL #ifdef _WIN32 #define DK4_HAVE_CRNL 1 #else #define DK4_HAVE_CRNL 0 #endif #endif #ifndef DK4_HAVE_FILEMODE_BINARY #ifdef _WIN32 #define DK4_HAVE_FILEMODE_BINARY 1 #else #define DK4_HAVE_FILEMODE_BINARY 0 #endif #endif #ifndef DK4_USE_PRINTF_SCANF #define DK4_USE_PRINTF_SCANF 1 #endif #ifndef DK4_HAVE_COMPATDKTOOLS3 #define DK4_HAVE_COMPATDKTOOLS3 1 #endif #endif /* ifndef DK4_CON_H_INCLUDED */