diff options
| author | Sascha Schumann <sas@php.net> | 2002-10-24 13:15:49 +0000 | 
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2002-10-24 13:15:49 +0000 | 
| commit | 2909e5c9c9313d25aa2dc85ea63ea51916043234 (patch) | |
| tree | 7ccd1e817c174a33458372b4e0e7057890c87e3f /main/php.h | |
| parent | 26617f8b5f02a9bac6999e57315245626ccafb62 (diff) | |
| download | php-git-2909e5c9c9313d25aa2dc85ea63ea51916043234.tar.gz | |
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
Diffstat (limited to 'main/php.h')
| -rw-r--r-- | main/php.h | 14 | 
1 files changed, 11 insertions, 3 deletions
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 <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  | 
