summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/fopen_wrappers.c2
-rw-r--r--main/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c
index f52de88d6d..f43e61666d 100644
--- a/main/fopen_wrappers.c
+++ b/main/fopen_wrappers.c
@@ -123,7 +123,7 @@ PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path
}
/* Check the path */
-#ifdef PHP_WIN32
+#if defined(PHP_WIN32) || defined(NETWARE)
if (strncasecmp(resolved_basedir, resolved_name, resolved_basedir_len) == 0) {
#else
if (strncmp(resolved_basedir, resolved_name, resolved_basedir_len) == 0) {
diff --git a/main/main.c b/main/main.c
index 6a792e8bff..9c17d0fcb8 100644
--- a/main/main.c
+++ b/main/main.c
@@ -222,7 +222,7 @@ static PHP_INI_MH(OnUpdateTimeout)
# define PHP_SAFE_MODE_EXEC_DIR ""
#endif
-#ifdef PHP_PROG_SENDMAIL
+#if defined(PHP_PROG_SENDMAIL) && !defined(NETWARE)
# define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i "
#else
# define DEFAULT_SENDMAIL_PATH NULL