centralize #include "build-defs.h" and drop (sometimes inconsistent) other

instances
This commit is contained in:
Sascha Schumann 2002-10-24 13:15:49 +00:00
parent 26617f8b5f
commit 2909e5c9c9
31 changed files with 36 additions and 71 deletions

View file

@ -62,9 +62,13 @@
#endif
#ifdef NETWARE
#define PHP_UNAME "NetWare" /* For php_get_uname() function */
#define PHP_OS PHP_UNAME /* This is obtained using 'uname' on Unix and assigned in the case of Windows;
we'll do it this way atleast for now */
/* For php_get_uname() function */
#define PHP_UNAME "NetWare"
/*
* This is obtained using uname(2) on Unix and assigned in the case of Windows;
* we'll do it this way at least for now.
*/
#define PHP_OS PHP_UNAME
#endif
#include "php_regex.h"
@ -92,6 +96,10 @@
#include <alloca.h>
#endif
#if HAVE_BUILD_DEFS_H
#include "build-defs.h"
#endif
/*
* This is a fast version of strlcpy which should be used, if you
* know the size of the destination buffer and if you know