php-src/main/config.w32.h

257 lines
5.2 KiB
C
Raw Normal View History

/*
2008-06-24 04:31:05 +00:00
Build Configuration Template for Win32.
$Id$
*/
1999-04-07 21:05:13 +00:00
/* Default PHP / PEAR directories */
2002-10-16 14:53:34 +00:00
#define PHP_CONFIG_FILE_PATH (getenv("SystemRoot"))?getenv("SystemRoot"):""
2008-06-24 04:31:05 +00:00
#define CONFIGURATION_FILE_PATH "php.ini"
#define PEAR_INSTALLDIR "C:\\php5\\pear"
#define PHP_BINDIR "C:\\php5"
#define PHP_DATADIR "C:\\php5"
#define PHP_EXTENSION_DIR "C:\\php5"
#define PHP_INCLUDE_PATH ".;C:\\php5\\pear"
#define PHP_LIBDIR "C:\\php5"
#define PHP_LOCALSTATEDIR "C:\\php5"
#define PHP_PREFIX "C:\\php5"
#define PHP_SYSCONFDIR "C:\\php5"
/* Enable / Disable crypt() function (default: enabled) */
2002-03-07 19:46:23 +00:00
#define HAVE_CRYPT 1
#define PHP_STD_DES_CRYPT 1
#define PHP_EXT_DES_CRYPT 0
#define PHP_MD5_CRYPT 1
2002-03-07 19:46:23 +00:00
#define PHP_BLOWFISH_CRYPT 0
/* PHP Runtime Configuration */
#define PHP_URL_FOPEN 1
1999-04-07 21:05:13 +00:00
#define PHP_SAFE_MODE 0
#define MAGIC_QUOTES 0
#define USE_CONFIG_FILE 1
#define DEFAULT_SHORT_OPEN_TAG "1"
1999-04-07 21:05:13 +00:00
/* Platform-Specific Configuration. Should not be changed. */
#define PHP_SIGCHILD 0
#define HAVE_LIBBIND 1
#define HAVE_GETSERVBYNAME 1
#define HAVE_GETSERVBYPORT 1
#define HAVE_GETPROTOBYNAME 1
#define HAVE_GETPROTOBYNUMBER 1
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
#define HAVE_ERRMSG_H 0
#undef HAVE_ADABAS
#undef HAVE_SOLID
#undef HAVE_LINK
#undef HAVE_SYMLINK
2003-11-29 22:48:42 +00:00
/* its in win32/time.c */
#define HAVE_USLEEP 1
#define HAVE_GETCWD 1
2000-05-23 14:58:43 +00:00
#define HAVE_POSIX_READDIR_R 1
1999-04-07 21:05:13 +00:00
#define NEED_ISBLANK 1
#define DISCARD_PATH 0
#undef HAVE_SETITIMER
2008-06-24 04:31:05 +00:00
#undef HAVE_SIGSETJMP
#undef HAVE_IODBC
1999-04-07 21:05:13 +00:00
#define HAVE_LIBDL 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_PUTENV 1
#define HAVE_LIMITS_H 1
#define HAVE_TZSET 1
2001-07-22 13:16:15 +00:00
#define HAVE_TZNAME 1
#undef HAVE_FLOCK
1999-09-07 20:29:31 +00:00
#define HAVE_ALLOCA 1
#undef HAVE_SYS_TIME_H
1999-04-07 21:05:13 +00:00
#define HAVE_SIGNAL_H 1
#undef HAVE_ST_BLKSIZE
#undef HAVE_ST_BLOCKS
1999-04-07 21:05:13 +00:00
#define HAVE_ST_RDEV 1
#define HAVE_UTIME_NULL 1
#define HAVE_VPRINTF 1
#define STDC_HEADERS 1
#define REGEX 1
#define HSREGEX 1
#define HAVE_GCVT 1
#define HAVE_GETLOGIN 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_PUTENV 1
#define HAVE_REGCOMP 1
#define HAVE_SETLOCALE 1
#define HAVE_LOCALECONV 1
1999-07-23 14:14:42 +00:00
#define HAVE_LOCALE_H 1
2001-03-11 03:49:21 +00:00
#ifndef HAVE_LIBBIND
2008-06-24 04:31:05 +00:00
# define HAVE_SETVBUF 1
1999-04-07 21:05:13 +00:00
#endif
#define HAVE_SHUTDOWN 1
1999-04-07 21:05:13 +00:00
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_STRCASECMP 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRSTR 1
#define HAVE_TEMPNAM 1
#define HAVE_UTIME 1
#undef HAVE_DIRENT_H
#define HAVE_ASSERT_H 1
1999-04-07 21:05:13 +00:00
#define HAVE_FCNTL_H 1
#define HAVE_GRP_H 0
#undef HAVE_PWD_H
1999-04-07 21:05:13 +00:00
#define HAVE_STRING_H 1
1999-06-17 03:45:20 +00:00
#undef HAVE_SYS_FILE_H
#undef HAVE_SYS_SOCKET_H
#undef HAVE_SYS_WAIT_H
1999-04-07 21:05:13 +00:00
#define HAVE_SYSLOG_H 1
1999-06-17 03:45:20 +00:00
#undef HAVE_UNISTD_H
2008-06-24 04:31:05 +00:00
#define HAVE_SYS_TYPES_H 1
#define HAVE_STDARG_H 1
#undef HAVE_ALLOCA_H
#undef HAVE_KILL
#define HAVE_GETPID 1
1999-04-07 21:05:13 +00:00
#define HAVE_LIBM 1
#define HAVE_CUSERID 0
#undef HAVE_RINT
#define HAVE_STRFTIME 1
2008-06-24 04:31:05 +00:00
#define SIZEOF_SHORT 2
/* int and long are stll 32bit in 64bit compiles */
1999-05-20 12:06:45 +00:00
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
/* MSVC.6/NET don't allow 'long long' or know 'intmax_t' */
#define SIZEOF_LONG_LONG_INT 0
#define SIZEOF_LONG_LONG 8 /* defined as __int64 */
#define SIZEOF_INTMAX_T 0
#define ssize_t SSIZE_T
#ifdef _WIN64
# define SIZEOF_SIZE_T 8
# define SIZEOF_PTRDIFF_T 8
#else
# define SIZEOF_SIZE_T 4
# define SIZEOF_PTRDIFF_T 4
#endif
2002-05-19 14:32:24 +00:00
#define HAVE_GLOB
2002-06-07 15:24:03 +00:00
#define PHP_SHLIB_SUFFIX "dll"
2003-06-09 01:00:23 +00:00
#define HAVE_SQLDATASOURCES
/* Win32 supports strcoll */
#define HAVE_STRCOLL 1
2003-01-15 16:53:49 +00:00
/* Win32 support proc_open */
#define PHP_CAN_SUPPORT_PROC_OPEN 1
#define HAVE_MBLEN
2006-06-05 09:02:28 +00:00
#undef HAVE_ATOF_ACCEPTS_NAN
#undef HAVE_ATOF_ACCEPTS_INF
#define HAVE_HUGE_VAL_NAN 1
/* vs.net 2005 has a 64-bit time_t. This will likely break
* 3rdParty libs that were built with older compilers; switch
* back to 32-bit */
2008-06-24 04:31:05 +00:00
#ifndef _WIN64
# define _USE_32BIT_TIME_T 1
#endif
2006-06-05 09:02:28 +00:00
#define HAVE_STDLIB_H 1
2008-06-24 04:31:05 +00:00
/* values determined by configure.js */
/* undefined */
#define CONFIGURE_COMMAND "cscript /nologo configure.js "
2006-06-05 09:02:28 +00:00
/* have the arpa\nameser.h header file */
#define HAVE_ARPA_NAMESER_H 1
2008-06-24 04:31:05 +00:00
/* have the wspiapi.h header file */
#define HAVE_WSPIAPI_H 1
/* undefined */
#define HAVE_GETADDRINFO 1
2006-06-05 09:02:28 +00:00
/* undefined */
2008-06-24 04:31:05 +00:00
#define HAVE_GAI_STRERROR 1
/* undefined */
#define HAVE_IPV6 1
/* undefined */
#define HAVE_USLEEP 1
/* undefined */
#define HAVE_STRCOLL 1
/* Have BCMATH library */
#define HAVE_BCMATH 1
/* Have calendar */
#define HAVE_CALENDAR 1
2006-06-05 09:02:28 +00:00
/* Have COM_DOTNET support */
#define HAVE_COM_DOTNET 1
2008-06-24 04:31:05 +00:00
/* Have ctype */
#define HAVE_CTYPE 1
2006-06-05 09:02:28 +00:00
/* Have date/time support */
#define HAVE_DATE 1
2008-06-24 04:31:05 +00:00
/* Bundled regex */
#define REGEX 1
/* Bundled regex */
#define HSREGEX 1
/* Have FTP support */
#define HAVE_FTP 1
2006-06-05 09:02:28 +00:00
/* undefined */
#define HAVE_HASH_EXT 1
2008-06-24 04:31:05 +00:00
/* ODBC support */
#define HAVE_UODBC 1
/* Using bundled PCRE library */
#define HAVE_BUNDLED_PCRE 1
2006-06-05 09:02:28 +00:00
2008-06-24 04:31:05 +00:00
/* Have PCRE library */
#define HAVE_PCRE 1
2006-06-05 09:02:28 +00:00
2008-06-24 04:31:05 +00:00
/* Reflection support enabled */
#define HAVE_REFLECTION 1
2006-06-05 09:02:28 +00:00
2008-06-24 04:31:05 +00:00
/* Session support */
#define HAVE_PHP_SESSION 1
2006-06-05 09:02:28 +00:00
2008-06-24 04:31:05 +00:00
/* undefined */
2006-06-05 09:02:28 +00:00
#define HAVE_SPL 1
2008-06-24 04:31:05 +00:00
/* undefined */
#define PHP_CONFIG_FILE_SCAN_DIR ""
/* Tokenizer support */
#define HAVE_TOKENIZER 1
/* ZLIB support */
#define HAVE_ZLIB 1
/* have the zlib.h header file */
#define HAVE_ZLIB_H 1
/* DOM support */
#define HAVE_DOM 1
/* Simple XML support */
#define HAVE_SIMPLEXML 1
/* WDDX support */
#define HAVE_WDDX 1
/* XML support */
#define HAVE_XML 1
/* XMLReader support */
#define HAVE_XMLREADER 1