diff options
author | Venkat Raghavan S <rvenkat@php.net> | 2002-05-31 04:49:45 +0000 |
---|---|---|
committer | Venkat Raghavan S <rvenkat@php.net> | 2002-05-31 04:49:45 +0000 |
commit | 575e3682f53e6e0146bc1aeed9cf721dbb196b35 (patch) | |
tree | 906dce8bef2236e7ccf083a5586f92bf4a279650 /main/php.h | |
parent | c4fd805ce4dbb1effc2fe8970e5a906a8908990b (diff) | |
download | php-git-575e3682f53e6e0146bc1aeed9cf721dbb196b35.tar.gz |
NetWare related changes
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h index fc667c4f39..9fe824949e 100644 --- a/main/php.h +++ b/main/php.h @@ -61,6 +61,12 @@ #define PHP_DIR_SEPARATOR '/' #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 */ +#endif + #include "php_regex.h" #if HAVE_ASSERT_H @@ -179,6 +185,9 @@ char *strerror(int); # ifdef PHP_WIN32 #include "win32/pwd.h" #include "win32/param.h" +#elif defined(NETWARE) +#include <sys/param.h> +#include "NetWare/pwd.h" # else #include <pwd.h> #include <sys/param.h> |