From 2909e5c9c9313d25aa2dc85ea63ea51916043234 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 24 Oct 2002 13:15:49 +0000 Subject: centralize #include "build-defs.h" and drop (sometimes inconsistent) other instances --- main/php.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'main/php.h') diff --git a/main/php.h b/main/php.h index bbaaeaf183..4cf5e8a7ef 100644 --- a/main/php.h +++ b/main/php.h @@ -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 #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 -- cgit v1.2.1