diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-27 15:26:05 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-27 15:26:05 (GMT) |
commit | 2cbd7f1b3cd50d21279ef81093632cb7bf6f97ea (patch) | |
tree | 02a4d0547091bfd3d50de4a88c03d8f841e0d524 /src/H5private.h | |
parent | f7ae23e639951e27b1b02d4ce1ba65a8b77963d2 (diff) | |
download | hdf5-2cbd7f1b3cd50d21279ef81093632cb7bf6f97ea.zip hdf5-2cbd7f1b3cd50d21279ef81093632cb7bf6f97ea.tar.gz hdf5-2cbd7f1b3cd50d21279ef81093632cb7bf6f97ea.tar.bz2 |
[svn-r16357] Description:
Bring r16307:16347 back from trunk into revise_chunks branch
Tested on:
FreeBSD/32 6.3 (duty)
(h5committest not required on this branch)
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/H5private.h b/src/H5private.h index 63bbcf4..2f75f86 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1375,8 +1375,7 @@ extern char *strdup(const char *s); #define HDpthread_self_ulong() ((unsigned long)pthread_self()) #endif /* HDpthread_self_ulong */ - -#ifdef H5_HAVE_WINDOW_PATH +#if defined(H5_HAVE_WINDOW_PATH) /* directory delimiter for Windows: slash and backslash are acceptable on Windows */ #define DIR_SLASH_SEPC '/' @@ -1397,6 +1396,18 @@ extern char *strdup(const char *s); (ptr = slash); \ } +#elif defined(H5_HAVE_VMS_PATH) + +/* OpenVMS pathname: <disk name>$<partition>:[path]<file name> + * i.g. SYS$SYSUSERS:[LU.HDF5.SRC]H5system.c */ +#define DIR_SEPC '.' +#define DIR_SEPS "." +#define CHECK_DELIMITER(SS) (SS == DIR_SEPC) +#define CHECK_ABSOLUTE(NAME) (strrchr(NAME, ':') && strrchr(NAME, '[')) +#define CHECK_ABS_DRIVE(NAME) (0) +#define CHECK_ABS_PATH(NAME) (0) +#define GET_LAST_DELIMITER(NAME, ptr) ptr = strrchr(NAME, ']'); + #else #define DIR_SEPC '/' |