summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2002-12-19 11:12:04 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2002-12-19 11:12:04 +0000
commite46b0bfa79db3c60d8cf284e9fce5dba8774dd4b (patch)
tree4038bc353092c31b31c8c7bdf2b9e467787fbabc /TSRM
parent2fc8358e3a5e91b5142d479108d6b0b98ad45479 (diff)
downloadphp-git-e46b0bfa79db3c60d8cf284e9fce5dba8774dd4b.tar.gz
Netware related changes/modifications.
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_config_common.h2
-rw-r--r--TSRM/tsrm_virtual_cwd.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/TSRM/tsrm_config_common.h b/TSRM/tsrm_config_common.h
index 8dbb93fe89..0cc0e6c5a1 100644
--- a/TSRM/tsrm_config_common.h
+++ b/TSRM/tsrm_config_common.h
@@ -25,7 +25,9 @@
#pragma alloca
# else
# ifndef alloca /* predefined by HP cc +Olibcalls */
+# ifndef NETWARE
char *alloca ();
+# endif
# endif
# endif
# endif
diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h
index 370edc2a77..5726024a54 100644
--- a/TSRM/tsrm_virtual_cwd.h
+++ b/TSRM/tsrm_virtual_cwd.h
@@ -70,6 +70,7 @@ typedef unsigned short mode_t;
#define DEFAULT_SLASH '/'
#define DEFAULT_DIR_SEPARATOR ';'
#define IS_SLASH(c) ((c) == '/' || (c) == '\\')
+#define IS_SLASH_P(c) (*(c) == '/' || *(c) == '\\')
#define COPY_WHEN_ABSOLUTE(path) \
(strchr(path, ':') - path + 1) /* Take the volume name which ends with a colon */
#define IS_ABSOLUTE_PATH(path, len) \