summaryrefslogtreecommitdiffstats
path: root/src/H5version.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2008-10-30 19:44:06 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2008-10-30 19:44:06 (GMT)
commitedb9de4efc8a410b68fcc469fbeb6480eb734921 (patch)
tree1de24bcad6e7b6a5028093f93ec4406299ae6260 /src/H5version.h
parentf2bdeee8982b0905bafb504c41de9482e9fca31d (diff)
downloadhdf5-edb9de4efc8a410b68fcc469fbeb6480eb734921.zip
hdf5-edb9de4efc8a410b68fcc469fbeb6480eb734921.tar.gz
hdf5-edb9de4efc8a410b68fcc469fbeb6480eb734921.tar.bz2
[svn-r16005] Modify the commit of r15936 for H5_USE_16_API. Let H5version.h check if H5_USE_16_API_DEFAULT is defined by the configure. Then define H5_USE_16_API and use it throughout.
Tested on kagiso - supposed to be simple.
Diffstat (limited to 'src/H5version.h')
-rw-r--r--src/H5version.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5version.h b/src/H5version.h
index eab972c..fd9e780 100644
--- a/src/H5version.h
+++ b/src/H5version.h
@@ -32,6 +32,10 @@
* Note: If an application has already chosen a particular version for an
* API symbol, the individual API version macro takes priority.
*/
+#if defined(H5_USE_16_API_DEFAULT) && !defined(H5_USE_16_API)
+#define H5_USE_16_API 1
+#endif /* H5_USE_16_API_DEFAULT && !H5_USE_16_API */
+
#ifdef H5_USE_16_API
/*************/