diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2007-05-15 22:14:10 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2007-05-15 22:14:10 (GMT) |
commit | c0d407a481960c693cdf210c4335dcc1f37e9001 (patch) | |
tree | 9d7123d67a5e57b3a6204da7ea49969eb8332da9 /src/H5private.h | |
parent | 31ff357f3190a869147378a9a136510be2caafd7 (diff) | |
download | hdf5-c0d407a481960c693cdf210c4335dcc1f37e9001.zip hdf5-c0d407a481960c693cdf210c4335dcc1f37e9001.tar.gz hdf5-c0d407a481960c693cdf210c4335dcc1f37e9001.tar.bz2 |
[svn-r13754] VMS port:
Updated command files; added "extern "C"" for HDremove_all function.
Platforms tested:
VMS server; kagiso - very minor and affects only VMS
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index 17b6e75..eff8964 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -749,8 +749,14 @@ H5_DLL int HDrand(void); #define HDreaddir(D) readdir(D) #define HDrealloc(M,Z) realloc(M,Z) #ifdef H5_VMS -#define HDremove(S) HDremove_all(S) +#ifdef __cplusplus +extern "C" { +#endif int HDremove_all(const char * fname); +#ifdef __cplusplus +} +#endif +#define HDremove(S) HDremove_all(S) #else #define HDremove(S) remove(S) #endif /*H5_VMS*/ |