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 0x0602 9#define NTDDI_VERSION 0x06020000 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/* Alignment for Zend memory allocator */ 31#define ZEND_MM_ALIGNMENT (size_t)8 32#define ZEND_MM_ALIGNMENT_LOG2 (size_t)3 33#define ZEND_MM_NEED_EIGHT_BYTE_REALIGNMENT 0 34#define PHP_SIGCHILD 0 35#define HAVE_GETSERVBYNAME 1 36#define HAVE_GETSERVBYPORT 1 37#define HAVE_GETPROTOBYNAME 1 38#define HAVE_GETPROTOBYNUMBER 1 39#define HAVE_GETHOSTNAME 1 40#define STDIN_FILENO 0 41#define STDOUT_FILENO 1 42#define STDERR_FILENO 2 43#define HAVE_ERRMSG_H 0 44#undef HAVE_ADABAS 45#undef HAVE_SOLID 46#undef HAVE_SYMLINK 47 48/* its in win32/time.c */ 49#define HAVE_USLEEP 1 50#define HAVE_NANOSLEEP 1 51 52#define HAVE_GETCWD 1 53#define NEED_ISBLANK 1 54#define DISCARD_PATH 0 55#undef HAVE_SETITIMER 56#undef HAVE_SIGSETJMP 57#undef HAVE_IODBC 58#define HAVE_LIBDL 1 59#define HAVE_GETTIMEOFDAY 1 60#define HAVE_PUTENV 1 61#define HAVE_TZSET 1 62#undef HAVE_FLOCK 63#define HAVE_ALLOCA 1 64#undef HAVE_SYS_TIME_H 65#undef HAVE_STRUCT_STAT_ST_BLKSIZE 66#undef HAVE_STRUCT_STAT_ST_BLOCKS 67#define HAVE_STRUCT_STAT_ST_RDEV 1 68#define REGEX 1 69#define HSREGEX 1 70#define HAVE_GETLOGIN 1 71#define HAVE_MEMMOVE 1 72#define HAVE_REGCOMP 1 73#define HAVE_SHUTDOWN 1 74#define HAVE_STRCASECMP 1 75#define HAVE_UTIME 1 76#undef HAVE_DIRENT_H 77#define HAVE_FCNTL_H 1 78#define HAVE_GRP_H 0 79#undef HAVE_PWD_H 80#undef HAVE_SYS_FILE_H 81#undef HAVE_SYS_SOCKET_H 82#undef HAVE_SYS_WAIT_H 83#define HAVE_SYSLOG_H 1 84#undef HAVE_UNISTD_H 85#define HAVE_SYS_TYPES_H 1 86#undef HAVE_ALLOCA_H 87#undef HAVE_KILL 88#define HAVE_GETPID 1 89#define HAVE_LIBM 1 90#undef HAVE_RINT 91#define SIZEOF_SHORT 2 92/* int and long are still 32bit in 64bit compiles */ 93#define SIZEOF_INT 4 94#define SIZEOF_LONG 4 95/* MSVC.6/NET don't allow 'long long' or know 'intmax_t' */ 96#define SIZEOF_LONG_LONG 8 /* defined as __int64 */ 97#define SIZEOF_INTMAX_T 0 98#define ssize_t SSIZE_T 99#ifdef _WIN64 100# define SIZEOF_SIZE_T 8 101# define SIZEOF_PTRDIFF_T 8 102#else 103# define SIZEOF_SIZE_T 4 104# define SIZEOF_PTRDIFF_T 4 105#endif 106#define SIZEOF_OFF_T 4 107#define HAVE_FNMATCH 108#define HAVE_GLOB 109#define PHP_SHLIB_SUFFIX "dll" 110#define PHP_SHLIB_EXT_PREFIX "php_" 111#define HAVE_SQLDATASOURCES 112 113/* Win32 supports socketpair by the emulation in win32/sockets.c */ 114#define HAVE_SOCKETPAIR 1 115#define HAVE_SOCKLEN_T 1 116 117/* Win32 support proc_open */ 118#define PHP_CAN_SUPPORT_PROC_OPEN 1 119 120/* inet_ntop() / inet_pton() */ 121#define HAVE_INET_PTON 1 122#define HAVE_INET_NTOP 1 123 124/* vs.net 2005 has a 64-bit time_t. This will likely break 125 * 3rdParty libs that were built with older compilers; switch 126 * back to 32-bit */ 127#ifndef _WIN64 128# define _USE_32BIT_TIME_T 1 129#endif 130 131#define _REENTRANT 1 132 133#define HAVE_GETRUSAGE 134 135#define HAVE_FTOK 1 136 137#define HAVE_NICE 138 139#ifdef __clang__ 140#define HAVE_FUNC_ATTRIBUTE_TARGET 1 141#endif 142 143#define HAVE_GETADDRINFO 1 144