You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

120 lines
2.8 KiB

6 years ago
  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 0x0602
  8. #define NTDDI_VERSION 0x06020000
  9. /* Default PHP / PEAR directories */
  10. #define PHP_CONFIG_FILE_PATH ""
  11. #define PEAR_INSTALLDIR "@PREFIX@\\pear"
  12. #define PHP_BINDIR "@PREFIX@"
  13. #define PHP_SBINDIR "@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 DEFAULT_SHORT_OPEN_TAG "1"
  23. /* Platform-Specific Configuration. Should not be changed. */
  24. /* Alignment for Zend memory allocator */
  25. #define ZEND_MM_ALIGNMENT (size_t)8
  26. #define ZEND_MM_ALIGNMENT_LOG2 (size_t)3
  27. #define ZEND_MM_NEED_EIGHT_BYTE_REALIGNMENT 0
  28. #define PHP_SIGCHILD 0
  29. #define HAVE_GETSERVBYNAME 1
  30. #define HAVE_GETSERVBYPORT 1
  31. #define HAVE_GETPROTOBYNAME 1
  32. #define HAVE_GETPROTOBYNUMBER 1
  33. #define HAVE_GETHOSTNAME 1
  34. #define STDIN_FILENO 0
  35. #define STDOUT_FILENO 1
  36. #define STDERR_FILENO 2
  37. #undef HAVE_ADABAS
  38. #undef HAVE_SOLID
  39. #undef HAVE_SYMLINK
  40. /* its in win32/time.c */
  41. #define HAVE_USLEEP 1
  42. #define HAVE_NANOSLEEP 1
  43. #define HAVE_GETCWD 1
  44. #undef HAVE_SETITIMER
  45. #undef HAVE_IODBC
  46. #define HAVE_LIBDL 1
  47. #define HAVE_GETTIMEOFDAY 1
  48. #define HAVE_PUTENV 1
  49. #define HAVE_TZSET 1
  50. #undef HAVE_FLOCK
  51. #define HAVE_ALLOCA 1
  52. #undef HAVE_SYS_TIME_H
  53. #undef HAVE_STRUCT_STAT_ST_BLKSIZE
  54. #undef HAVE_STRUCT_STAT_ST_BLOCKS
  55. #define HAVE_STRUCT_STAT_ST_RDEV 1
  56. #define HAVE_SHUTDOWN 1
  57. #define HAVE_STRCASECMP 1
  58. #define HAVE_UTIME 1
  59. #undef HAVE_DIRENT_H
  60. #define HAVE_FCNTL_H 1
  61. #undef HAVE_GRP_H
  62. #undef HAVE_PWD_H
  63. #undef HAVE_SYS_FILE_H
  64. #undef HAVE_SYS_SOCKET_H
  65. #undef HAVE_SYS_WAIT_H
  66. #define HAVE_SYSLOG_H 1
  67. #undef HAVE_UNISTD_H
  68. #define HAVE_SYS_TYPES_H 1
  69. #undef HAVE_ALLOCA_H
  70. #undef HAVE_KILL
  71. #define HAVE_GETPID 1
  72. /* int and long are still 32bit in 64bit compiles */
  73. #define SIZEOF_INT 4
  74. #define SIZEOF_LONG 4
  75. /* MSVC.6/NET don't allow 'long long' */
  76. #define SIZEOF_LONG_LONG 8 /* defined as __int64 */
  77. #define ssize_t SSIZE_T
  78. #ifdef _WIN64
  79. # define SIZEOF_SIZE_T 8
  80. #else
  81. # define SIZEOF_SIZE_T 4
  82. #endif
  83. #define SIZEOF_OFF_T 4
  84. #define HAVE_FNMATCH
  85. #define PHP_SHLIB_SUFFIX "dll"
  86. #define PHP_SHLIB_EXT_PREFIX "php_"
  87. /* Win32 supports socketpair by the emulation in win32/sockets.c */
  88. #define HAVE_SOCKETPAIR 1
  89. #define HAVE_SOCKLEN_T 1
  90. /* Win32 support proc_open */
  91. #define PHP_CAN_SUPPORT_PROC_OPEN 1
  92. /* vs.net 2005 has a 64-bit time_t. This will likely break
  93. * 3rdParty libs that were built with older compilers; switch
  94. * back to 32-bit */
  95. #ifndef _WIN64
  96. # define _USE_32BIT_TIME_T 1
  97. #endif
  98. #define _REENTRANT 1
  99. #define HAVE_GETRUSAGE
  100. #define HAVE_FTOK 1
  101. #define HAVE_NICE
  102. #ifdef __clang__
  103. #define HAVE_FUNC_ATTRIBUTE_TARGET 1
  104. #endif
  105. #define HAVE_GETADDRINFO 1