summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-06-25 05:07:36 (GMT)
committerGitHub <noreply@github.com>2021-06-25 05:07:36 (GMT)
commit34f2df48b7e0ae2151462a9835fd7096ef8c2925 (patch)
tree9cacb20e6b0af5b25d55e9d6fa2088fd19700690 /src/H5private.h
parentb16b7316c4afb7f59a4628ec5976659b8db3c497 (diff)
downloadhdf5-34f2df48b7e0ae2151462a9835fd7096ef8c2925.zip
hdf5-34f2df48b7e0ae2151462a9835fd7096ef8c2925.tar.gz
hdf5-34f2df48b7e0ae2151462a9835fd7096ef8c2925.tar.bz2
Removes checks for signal and set/longjmp, which are C89 (#798)
Also removes checks for setjmp.h and stddef.h
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/H5private.h b/src/H5private.h
index f90aa94..2478c2e 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -32,6 +32,7 @@
#include <fcntl.h>
#include <float.h>
#include <math.h>
+#include <setjmp.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -63,13 +64,6 @@
#endif
/*
- * Longjumps are used to detect alignment constrants
- */
-#ifdef H5_HAVE_SETJMP_H
-#include <setjmp.h>
-#endif
-
-/*
* flock() in sys/file.h is used for the implementation of file locking.
*/
#if defined(H5_HAVE_FLOCK) && defined(H5_HAVE_SYS_FILE_H)