mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
This commit is contained in:
parent
26617f8b5f
commit
2909e5c9c9
31 changed files with 36 additions and 71 deletions
14
main/php.h
14
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue