summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2007-05-15 22:14:10 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2007-05-15 22:14:10 (GMT)
commitc0d407a481960c693cdf210c4335dcc1f37e9001 (patch)
tree9d7123d67a5e57b3a6204da7ea49969eb8332da9
parent31ff357f3190a869147378a9a136510be2caafd7 (diff)
downloadhdf5-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
-rw-r--r--src/H5private.h8
-rw-r--r--vms/src/make.com2
-rw-r--r--vms/tools/lib/make.com2
3 files changed, 9 insertions, 3 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*/
diff --git a/vms/src/make.com b/vms/src/make.com
index 817b5a2..530f4e5 100644
--- a/vms/src/make.com
+++ b/vms/src/make.com
@@ -49,7 +49,7 @@ $ cobj= "H5, H5checksum, H5dbg, H5system, H5timer, H5trace,"+-
"H5Obogus, H5Obtreek, H5Odrvinfo, H5Ocache,"+-
"H5Ocont, H5Ocopy, H5Odbg, H5Odtype, H5Oefl, H5Ofill, H5Oginfo, H5Olayout,"+-
"H5Olinfo, H5Olink, H5Omessage, H5Oshmesg, H5Omtime"
-$ cobj1= "H5Oname, H5Onull, H5Opline, H5Osdspace, H5Oshared, H5Ostab, H5Otest,"+-
+$ cobj1= "H5Oname, H5Onull, H5Opline, H5Orefcount, H5Osdspace, H5Oshared, H5Ostab, H5Otest, H5Ounknown,"+-
"H5P, H5Pacpl, H5Pdcpl, H5Pdxpl, H5Pfapl, H5Pfcpl, H5Pfmpl, H5Pgcpl, H5Plapl,"+-
"H5Pocpl, H5Pocpypl, H5Ptest, H5Pstrcpl, H5Plcpl,"+-
"H5R, H5RC,"+-
diff --git a/vms/tools/lib/make.com b/vms/tools/lib/make.com
index 40e5464..8e9ff47 100644
--- a/vms/tools/lib/make.com
+++ b/vms/tools/lib/make.com
@@ -24,7 +24,7 @@ $ type sys$input
$!
$ cobj="h5tools, h5tools_str, h5tools_utils, h5diff, h5diff_array, "+-
"h5diff_attr, h5diff_dset, h5diff_util, h5trav,"+-
- " h5trav_table, h5tools_filters, h5tools_ref, h5tools_type"
+ "h5tools_filters, h5tools_ref, h5tools_type"
$!
$ ccc 'cobj
$ library/create []libh5tools 'cobj