summaryrefslogtreecommitdiffstats
path: root/src/H5detect.c
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2007-08-08 22:51:43 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2007-08-08 22:51:43 (GMT)
commit88c194fd78c0c0ca9729fe3671dcf3ebc9a36ddb (patch)
tree5c22160568b9d34e2cf2fac7fbb221750e5c786a /src/H5detect.c
parenta1fcb56d781e342f3cb0aef0f83e87c15c617c65 (diff)
downloadhdf5-88c194fd78c0c0ca9729fe3671dcf3ebc9a36ddb.zip
hdf5-88c194fd78c0c0ca9729fe3671dcf3ebc9a36ddb.tar.gz
hdf5-88c194fd78c0c0ca9729fe3671dcf3ebc9a36ddb.tar.bz2
[svn-r14056] Purpose: Take advantage of new H5_HAVE_SIGLONGJMP flag in H5detect.c
Description: Visual Studio does not have the function siglongjmp. Therefore, we have created a new configure flag H5_HAVE_SIGLONGJMP that tests for this. We use this within H5detect.c. Tested: VS.NET h5committest
Diffstat (limited to 'src/H5detect.c')
-rw-r--r--src/H5detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5detect.c b/src/H5detect.c
index 3cfa89a..17f6db2 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -356,7 +356,7 @@ precision (detected_t *d)
COMP_ALIGN = (size_t)((char*)(&(s.x)) - (char*)(&s)); \
}
-#if defined(H5_HAVE_LONGJMP) && defined(H5_HAVE_SIGNAL)
+#if defined(H5_HAVE_LONGJMP) && defined(H5_HAVE_SIGNAL) && defined(H5_HAVE_SIGLONGJMP)
#define ALIGNMENT(TYPE,INFO) { \
char *volatile _buf=NULL; \
volatile TYPE _val=1; \