1/* 2 Build Configuration Template for Win32. 3*/ 4 5/* Define the minimum supported version */ 6#undef _WIN32_WINNT 7#undef NTDDI_VERSION 8#define _WIN32_WINNT 0x0601 9#define NTDDI_VERSION 0x06010000 10 11/* Default PHP / PEAR directories */ 12#define PHP_CONFIG_FILE_PATH "" 13#define CONFIGURATION_FILE_PATH "php.ini" 14#define PEAR_INSTALLDIR "@PREFIX@\\pear" 15#define PHP_BINDIR "@PREFIX@" 16#define PHP_DATADIR "@PREFIX@" 17#define PHP_EXTENSION_DIR "@PREFIX@\\ext" 18#define PHP_INCLUDE_PATH ".;@PREFIX@\\pear" 19#define PHP_LIBDIR "@PREFIX@" 20#define PHP_LOCALSTATEDIR "@PREFIX@" 21#define PHP_PREFIX "@PREFIX@" 22#define PHP_SYSCONFDIR "@PREFIX@" 23 24/* PHP Runtime Configuration */ 25#define PHP_URL_FOPEN 1 26#define USE_CONFIG_FILE 1 27#define DEFAULT_SHORT_OPEN_TAG "1" 28 29/* Platform-Specific Configuration. Should not be changed. */ 30#define PHP_SIGCHILD 0 31#define HAVE_LIBBIND 1 32#define HAVE_GETSERVBYNAME 1 33#define HAVE_GETSERVBYPORT 1 34#define HAVE_GETPROTOBYNAME 1 35#define HAVE_GETPROTOBYNUMBER 1 36#define HAVE_GETHOSTNAME 1 37#define STDIN_FILENO 0 38#define STDOUT_FILENO 1 39#define STDERR_FILENO 2 40#define HAVE_ERRMSG_H 0 41#undef HAVE_ADABAS 42#undef HAVE_SOLID 43#undef HAVE_LINK 44#undef HAVE_SYMLINK 45 46/* its in win32/time.c */ 47#define HAVE_USLEEP 1 48#define HAVE_NANOSLEEP 1 49#define PHP_SLEEP_NON_VOID 1 50 51#define HAVE_GETHOSTNAME 1 52#define HAVE_GETCWD 1 53#define HAVE_POSIX_READDIR_R 1 54#define NEED_ISBLANK 1 55#define DISCARD_PATH 0 56#undef HAVE_SETITIMER 57#undef HAVE_SIGSETJMP 58#undef HAVE_IODBC 59#define HAVE_LIBDL 1 60#define HAVE_GETTIMEOFDAY 1 61#define HAVE_PUTENV 1 62#define HAVE_LIMITS_H 1 63#define HAVE_TZSET 1 64#define HAVE_TZNAME 1 65#undef HAVE_FLOCK 66#define HAVE_ALLOCA 1 67#undef HAVE_SYS_TIME_H 68#define HAVE_SIGNAL_H 1 69#undef HAVE_STRUCT_STAT_ST_BLKSIZE 70#undef HAVE_ST_BLOCKS 71#define HAVE_STRUCT_STAT_ST_RDEV 1 72#define HAVE_UTIME_NULL 1 73#define HAVE_VPRINTF 1 74#define STDC_HEADERS 1 75#define REGEX 1 76#define HSREGEX 1 77#define HAVE_GCVT 1 78#define HAVE_GETLOGIN 1 79#define HAVE_GETTIMEOFDAY 1 80#define HAVE_MEMCPY 1 81#define HAVE_MEMMOVE 1 82#define HAVE_PUTENV 1 83#define HAVE_REGCOMP 1 84#define HAVE_SETLOCALE 1 85#define HAVE_LOCALECONV 1 86#define HAVE_LOCALE_H 1 87#ifndef HAVE_LIBBIND 88# define HAVE_SETVBUF 1 89#endif 90#define HAVE_SHUTDOWN 1 91#define HAVE_SNPRINTF 1 92#define HAVE_VSNPRINTF 1 93#define HAVE_STRCASECMP 1 94#define HAVE_STRDUP 1 95#define HAVE_STRERROR 1 96#define HAVE_STRSTR 1 97#define HAVE_TEMPNAM 1 98#define HAVE_UTIME 1 99#undef HAVE_DIRENT_H 100#define HAVE_ASSERT_H 1 101#define HAVE_FCNTL_H 1 102#define HAVE_GRP_H 0 103#undef HAVE_PWD_H 104#define HAVE_STRING_H 1 105#undef HAVE_SYS_FILE_H 106#undef HAVE_SYS_SOCKET_H 107#undef HAVE_SYS_WAIT_H 108#define HAVE_SYSLOG_H 1 109#undef HAVE_UNISTD_H 110#define HAVE_SYS_TYPES_H 1 111#define HAVE_STDARG_H 1 112#undef HAVE_ALLOCA_H 113#undef HAVE_KILL 114#define HAVE_GETPID 1 115#define HAVE_LIBM 1 116#define HAVE_CUSERID 0 117#undef HAVE_RINT 118#define HAVE_STRFTIME 1 119#define SIZEOF_SHORT 2 120/* int and long are stll 32bit in 64bit compiles */ 121#define SIZEOF_INT 4 122#define SIZEOF_LONG 4 123/* MSVC.6/NET don't allow 'long long' or know 'intmax_t' */ 124#define SIZEOF_LONG_LONG_INT 0 125#define SIZEOF_LONG_LONG 8 /* defined as __int64 */ 126#define SIZEOF_INTMAX_T 0 127#define ssize_t SSIZE_T 128#ifdef _WIN64 129# define SIZEOF_SIZE_T 8 130# define SIZEOF_PTRDIFF_T 8 131#else 132# define SIZEOF_SIZE_T 4 133# define SIZEOF_PTRDIFF_T 4 134#endif 135#define HAVE_FNMATCH 136#define HAVE_GLOB 137#define PHP_SHLIB_SUFFIX "dll" 138#define PHP_SHLIB_EXT_PREFIX "php_" 139#define HAVE_SQLDATASOURCES 140 141/* Win32 supports strcoll */ 142#define HAVE_STRCOLL 1 143 144/* Win32 supports socketpair by the emulation in win32/sockets.c */ 145#define HAVE_SOCKETPAIR 1 146#define HAVE_SOCKLEN_T 1 147 148/* Win32 support proc_open */ 149#define PHP_CAN_SUPPORT_PROC_OPEN 1 150 151/* inet_ntop() / inet_pton() */ 152#define HAVE_INET_PTON 1 153#define HAVE_INET_NTOP 1 154 155#define HAVE_MBLEN 156 157#undef HAVE_ATOF_ACCEPTS_NAN 158#undef HAVE_ATOF_ACCEPTS_INF 159#define HAVE_HUGE_VAL_NAN 0 160 161/* vs.net 2005 has a 64-bit time_t. This will likely break 162 * 3rdParty libs that were built with older compilers; switch 163 * back to 32-bit */ 164#ifndef _WIN64 165# define _USE_32BIT_TIME_T 1 166#endif 167#define HAVE_STDLIB_H 1 168 169#define _REENTRANT 1 170#define HAVE_MBRLEN 1 171#define HAVE_MBSTATE_T 1 172 173#define HAVE_HUGE_VAL_INF 1 174 175#define HAVE_GETRUSAGE 176 177#define HAVE_FTOK 1 178 179#define HAVE_NICE 180 181#ifdef __clang__ 182#define HAVE_FUNC_ATTRIBUTE_TARGET 1 183#endif 184