summaryrefslogtreecommitdiffstats
path: root/src/H5Epublic.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2003-09-29 16:23:15 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2003-09-29 16:23:15 (GMT)
commitb997db6cdd5911e475cd50c06cdbf448fd40c9eb (patch)
treec2d2d3cd8192072c524e817399e03f161b66dd06 /src/H5Epublic.h
parent53b34b2e9616805b93ef54c6d40cb742d4238e3b (diff)
downloadhdf5-b997db6cdd5911e475cd50c06cdbf448fd40c9eb.zip
hdf5-b997db6cdd5911e475cd50c06cdbf448fd40c9eb.tar.gz
hdf5-b997db6cdd5911e475cd50c06cdbf448fd40c9eb.tar.bz2
[svn-r7519] Purpose:
Description: add backward compatibility for thread safety. Platforms tested: RH 8(fuss)
Diffstat (limited to 'src/H5Epublic.h')
-rw-r--r--src/H5Epublic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Epublic.h b/src/H5Epublic.h
index 99fccd8..49da51e 100644
--- a/src/H5Epublic.h
+++ b/src/H5Epublic.h
@@ -158,7 +158,11 @@ extern "C" {
/* Error stack traversal callback function pointers */
typedef herr_t (*H5E_walk_t)(unsigned n, const H5E_error_t *err_desc, void *client_data);
+#ifdef H5_WANT_H5_V1_6_COMPAT
+typedef herr_t (*H5E_auto_t)(void *client_data);
+#else
typedef herr_t (*H5E_auto_t)(hid_t estack, void *client_data);
+#endif /* H5_WANT_H5_V1_6_COMPAT */
/* Public API functions */
H5_DLL hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version);