mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
[svn-r886] Fixed H5dont_atexit in development branch also.
This commit is contained in:
parent
6caf5fac81
commit
7088f7715f
6
src/H5.c
6
src/H5.c
@ -304,12 +304,18 @@ H5_init_interface(void)
|
|||||||
herr_t
|
herr_t
|
||||||
H5dont_atexit(void)
|
H5dont_atexit(void)
|
||||||
{
|
{
|
||||||
|
#ifdef DONT_DO_THIS
|
||||||
FUNC_ENTER_INIT(H5dont_atexit, NULL, FAIL);
|
FUNC_ENTER_INIT(H5dont_atexit, NULL, FAIL);
|
||||||
|
#endif /* DONT_DO_THIS */
|
||||||
|
|
||||||
if (install_atexit_g == TRUE)
|
if (install_atexit_g == TRUE)
|
||||||
install_atexit_g = FALSE;
|
install_atexit_g = FALSE;
|
||||||
|
|
||||||
|
#ifdef DONT_DO_THIS
|
||||||
FUNC_LEAVE(SUCCEED);
|
FUNC_LEAVE(SUCCEED);
|
||||||
|
#else /* DONT_DO_THIS */
|
||||||
|
return(SUCCEED);
|
||||||
|
#endif /* DONT_DO_THIS */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user