summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2008-10-24 19:48:57 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2008-10-24 19:48:57 (GMT)
commit5f16ae281c3c72cccc731b864cea08b8056dd64f (patch)
tree42dbe0d241088eeba724679190354e7b34cf0d12 /examples
parent07baa2bd027a00ca022f89510767d50dd12817d1 (diff)
downloadhdf5-5f16ae281c3c72cccc731b864cea08b8056dd64f.zip
hdf5-5f16ae281c3c72cccc731b864cea08b8056dd64f.tar.gz
hdf5-5f16ae281c3c72cccc731b864cea08b8056dd64f.tar.bz2
[svn-r15946] A follow-up checkin for the last-round commit(r15936). Added a test in this script file to
check whether the macros H5_USE_16_API works properly. There used to be a problem to compile if H5_USE_16_API is defined in the application program (see bug #1264). Tested on kagiso - simple change.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/testh5cc.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/testh5cc.sh.in b/examples/testh5cc.sh.in
index 940f363..1cef579 100755
--- a/examples/testh5cc.sh.in
+++ b/examples/testh5cc.sh.in
@@ -118,6 +118,7 @@ EOF
# An HDF5 sample program that calls hdf5 functions.
cat > $hdf5main <<EOF
#include "hdf5.h"
+#define H5_USE_16_API
#define H5FILE_NAME "tmp.h5"
int
main (void)