summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */
}