config.w32.h.in 4.2 KB

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