summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/php_functions.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-01-14 16:59:05 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-01-14 16:59:05 +0000
commitd4fbb3ca53f00d8df178dbb83c0979e69d450c65 (patch)
tree7a66de1b7f85daf48eec288dfebd3aa1073bb1a7 /sapi/apache2handler/php_functions.c
parentc5588fae3aa3cc6f494810325f8a76e64e245cec (diff)
downloadphp-git-d4fbb3ca53f00d8df178dbb83c0979e69d450c65.tar.gz
Fixed bug #40127 (apache2handler doesnt compile on Netware).
Diffstat (limited to 'sapi/apache2handler/php_functions.c')
-rw-r--r--sapi/apache2handler/php_functions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c
index a04079cde7..d9da7710be 100644
--- a/sapi/apache2handler/php_functions.c
+++ b/sapi/apache2handler/php_functions.c
@@ -42,7 +42,7 @@
#include "util_script.h"
#include "http_core.h"
#include "ap_mpm.h"
-#if !defined(WIN32) && !defined(WINNT)
+#if !defined(WIN32) && !defined(WINNT) && !defined(NETWARE)
#include "unixd.h"
#endif
@@ -382,7 +382,7 @@ PHP_MINFO_FUNCTION(apache)
int n, max_requests;
char *p;
server_rec *serv = ((php_struct *) SG(server_context))->r->server;
-#if !defined(WIN32) && !defined(WINNT)
+#if !defined(WIN32) && !defined(WINNT) && !defined(NETWARE)
AP_DECLARE_DATA extern unixd_config_rec unixd_config;
#endif
@@ -413,7 +413,7 @@ PHP_MINFO_FUNCTION(apache)
sprintf(tmp, "%s:%u", serv->server_hostname, serv->port);
php_info_print_table_row(2, "Hostname:Port", tmp);
-#if !defined(WIN32) && !defined(WINNT)
+#if !defined(WIN32) && !defined(WINNT) && !defined(NETWARE)
sprintf(tmp, "%s(%d)/%d", unixd_config.user_name, unixd_config.user_id, unixd_config.group_id);
php_info_print_table_row(2, "User/Group", tmp);
#endif