summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-08-23 22:40:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-08-23 22:40:22 (GMT)
commit14ce8811f7bf82571312163d5105852bd545fa4e (patch)
tree5481b16780b7da04b86549727f020365b07ba0a8 /src
parent63eb5b9ebbf4b9d63ee9173fec73027a0da1e33e (diff)
downloadhdf5-14ce8811f7bf82571312163d5105852bd545fa4e.zip
hdf5-14ce8811f7bf82571312163d5105852bd545fa4e.tar.gz
hdf5-14ce8811f7bf82571312163d5105852bd545fa4e.tar.bz2
[svn-r14108] Description:
Make version macro for typedefs closer to version macro for API functions. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) Solaris/32 5.10 (linew)
Diffstat (limited to 'src')
-rw-r--r--src/H5version.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5version.h b/src/H5version.h
index ac6020e..fd534b1 100644
--- a/src/H5version.h
+++ b/src/H5version.h
@@ -70,9 +70,9 @@
/* Typedefs */
/************/
-#if !defined(H5E_auto_vers)
-#define H5E_auto_vers 1
-#endif /* !defined(H5E_auto_vers) */
+#if !defined(H5E_auto_t_vers)
+#define H5E_auto_t_vers 1
+#endif /* !defined(H5E_auto_t_vers) */
#endif /* H5_USE_16_API */
@@ -151,13 +151,13 @@
/* Typedefs */
/************/
-#if !defined(H5E_auto_vers) || H5E_auto_vers == 2
+#if !defined(H5E_auto_t_vers) || H5E_auto_t_vers == 2
#define H5E_auto_t H5E_auto2_t
-#elif H5E_auto_vers == 1
+#elif H5E_auto_t_vers == 1
#define H5E_auto_t H5E_auto1_t
-#else /* H5E_auto_vers */
-#error "H5E_auto_vers set to invalid value"
-#endif /* H5E_auto_vers */
+#else /* H5E_auto_t_vers */
+#error "H5E_auto_t_vers set to invalid value"
+#endif /* H5E_auto_t_vers */
#endif /* H5version_H */