summaryrefslogtreecommitdiffstats
path: root/tools/h5tools.h
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-05-03 15:48:20 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-05-03 15:48:20 (GMT)
commitae5c998516c2235ef1334c76718109506dcc480c (patch)
tree19b8caf1371f1a3e53e0809caf9b24cb3cd2d731 /tools/h5tools.h
parent043b7c4ec58fc06cc42cb62aec7741deb807c996 (diff)
downloadhdf5-ae5c998516c2235ef1334c76718109506dcc480c.zip
hdf5-ae5c998516c2235ef1334c76718109506dcc480c.tar.gz
hdf5-ae5c998516c2235ef1334c76718109506dcc480c.tar.bz2
[svn-r2211] took the development branch code and moved it into the release. had to add some
conditional compile statements in the code to compile for the release. defined a VERSION12 and VERSION13 macro. all changes were surrounded by these statements
Diffstat (limited to 'tools/h5tools.h')
-rw-r--r--tools/h5tools.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/h5tools.h b/tools/h5tools.h
index e6c4e40..0cbdc84 100644
--- a/tools/h5tools.h
+++ b/tools/h5tools.h
@@ -12,7 +12,13 @@
#include <hdf5.h>
#include <stdio.h>
-
+#if H5_VERS_MAJOR == 1
+#if H5_VERS_MINOR == 2
+#define VERSION12
+#elif H5_VERS_MINOR == 3
+#define VERSION13
+#endif
+#endif
#define ESCAPE_HTML 1