From e46b0bfa79db3c60d8cf284e9fce5dba8774dd4b Mon Sep 17 00:00:00 2001 From: Anantha Kesari H Y Date: Thu, 19 Dec 2002 11:12:04 +0000 Subject: Netware related changes/modifications. --- TSRM/tsrm_config_common.h | 2 ++ TSRM/tsrm_virtual_cwd.h | 1 + 2 files changed, 3 insertions(+) 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) \ -- cgit v1.2.1