From c0d407a481960c693cdf210c4335dcc1f37e9001 Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Tue, 15 May 2007 17:14:10 -0500 Subject: [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 --- src/H5private.h | 8 +++++++- vms/src/make.com | 2 +- vms/tools/lib/make.com | 2 +- 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 -- cgit v0.12