summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-11-09 19:04:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-11-09 19:04:46 (GMT)
commit7088f7715f364ddc5efe04e583a781f05953af3c (patch)
treeec1a22f3be012f233b1fcbaa2e710f0740573f79
parent6caf5fac81036610dee9da3fd362e5550dfda29c (diff)
downloadhdf5-7088f7715f364ddc5efe04e583a781f05953af3c.zip
hdf5-7088f7715f364ddc5efe04e583a781f05953af3c.tar.gz
hdf5-7088f7715f364ddc5efe04e583a781f05953af3c.tar.bz2
[svn-r886] Fixed H5dont_atexit in development branch also.
-rw-r--r--src/H5.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5.c b/src/H5.c
index 02fd278..af406ee 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -304,12 +304,18 @@ H5_init_interface(void)
herr_t
H5dont_atexit(void)
{
+#ifdef DONT_DO_THIS
FUNC_ENTER_INIT(H5dont_atexit, NULL, FAIL);
+#endif /* DONT_DO_THIS */
if (install_atexit_g == TRUE)
install_atexit_g = FALSE;
+#ifdef DONT_DO_THIS
FUNC_LEAVE(SUCCEED);
+#else /* DONT_DO_THIS */
+ return(SUCCEED);
+#endif /* DONT_DO_THIS */
}