]> granicus.if.org Git - php/commitdiff
Netware related changes/modifications.
authorAnantha Kesari H Y <hyanantha@php.net>
Thu, 19 Dec 2002 11:12:04 +0000 (11:12 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Thu, 19 Dec 2002 11:12:04 +0000 (11:12 +0000)
TSRM/tsrm_config_common.h
TSRM/tsrm_virtual_cwd.h

index 8dbb93fe89fc09d0ba6da183ca2c658e6e8f1123..0cc0e6c5a1b0e876d269266d6400dbebecb80985 100644 (file)
@@ -25,7 +25,9 @@
  #pragma alloca
 #  else
 #   ifndef alloca /* predefined by HP cc +Olibcalls */
+#    ifndef NETWARE
 char *alloca ();
+#    endif
 #   endif
 #  endif
 # endif
index 370edc2a77387f6197a58c5be133506587d92565..5726024a5408037b3cc044476e0b15883c58aa69 100644 (file)
@@ -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) \