Browse Source

Fix build on WIn32

Should the new directorys be static?
PHP-4.0.6
Frank M. Kromann 25 years ago
parent
commit
0be5cca176
  1. 11
      main/config.w32.h
  2. 2
      main/php_ini.c

11
main/config.w32.h

@ -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"

2
main/php_ini.c

@ -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"

Loading…
Cancel
Save