diff options
author | Scott Wegner <swegner@hdfgroup.org> | 2007-08-08 22:51:43 (GMT) |
---|---|---|
committer | Scott Wegner <swegner@hdfgroup.org> | 2007-08-08 22:51:43 (GMT) |
commit | 88c194fd78c0c0ca9729fe3671dcf3ebc9a36ddb (patch) | |
tree | 5c22160568b9d34e2cf2fac7fbb221750e5c786a /src | |
parent | a1fcb56d781e342f3cb0aef0f83e87c15c617c65 (diff) | |
download | hdf5-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')
-rw-r--r-- | src/H5detect.c | 2 |
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; \ |