diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-18 16:40:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-18 16:40:10 +0000 |
commit | 9c0ff0c1c817ca27665efb4233f91f1916d8f45b (patch) | |
tree | 7fbfb6e92278e9b0601bc249f5ae8bd481634c97 /include | |
parent | 344db69c452565dd20022093ff67874d420e55fe (diff) | |
download | ruby-9c0ff0c1c817ca27665efb4233f91f1916d8f45b.tar.gz |
configure.in: setjmpex
* configure.in (setjmp-type): check if setjmpex() is really available.
workaround for i686-w64-mingw32 which declares it but lacks its
definition.
* include/ruby/defines.h: include setjmpex.h only if also setjmpex()
is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/defines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h index 31a8f6b22a..9b75647e64 100644 --- a/include/ruby/defines.h +++ b/include/ruby/defines.h @@ -61,7 +61,7 @@ extern "C" { # include <sys/select.h> #endif -#ifdef HAVE_SETJMPEX_H +#if defined HAVE_SETJMPEX_H && defined HAVE__SETJMPEX #include <setjmpex.h> #endif |