Fix build on WIn32

Should the new directorys be static?
This commit is contained in:
Frank M. Kromann 2001-04-23 17:33:22 +00:00
parent c03efd49f4
commit 0be5cca176
2 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/* config.w32.h. Configure file for win32 platforms */
/* tested only with MS Visual C++ V5 */
/* tested only with MS Visual C++ V6 */
/* Define if PHP to setup it's own SIGCHLD handler (not needed on Win32) */
@ -325,3 +325,12 @@
#define PHP_EXTENSION_DIR NULL
#define SIZEOF_INT 4
/* Define directory constants for php and pear */
#define PHP_BINDIR "c:\\php4"
#define PHP_LIBDIR "c:\\php4"
#define PHP_DATADIR "c:\\php4"
#define PHP_SYSCONFDIR "c:\\php4"
#define PHP_LOCALSTATEDIR "c:\\php4"
#define PHP_CONFIG_FILE_PATH "c:\\winnt"
#define PEAR_INSTALLDIR "c:\\php4\\pear"

View File

@ -18,7 +18,9 @@
#include "php.h"
#ifndef PHP_WIN32
#include "build-defs.h"
#endif
#include "ext/standard/info.h"
#include "zend_ini.h"
#include "php_ini.h"