summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-20 15:22:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-20 15:22:04 +0000
commit3674064bf21deeefc095c4222a2c485503abeb8b (patch)
treee85da1dd2da0491c50b87b1c38e7cfa118c37c73 /include
parent65ca6391edd684f1b23750bbcdac7fa3e27b86aa (diff)
RUBY_USE_SETJMPEX
* configure.in, include/ruby/defines.h (RUBY_USE_SETJMPEX): include setjmpex.h only when using setjmpex() for RUBY_SETJMP. the header of mingw32 overrides setjmp() by setjmpex(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h
index bc0eda29f2..610fbf4417 100644
--- a/include/ruby/defines.h
+++ b/include/ruby/defines.h
@@ -130,7 +130,7 @@ extern "C" {
# include <sys/select.h>
#endif
-#if defined HAVE_SETJMPEX_H && defined HAVE__SETJMPEX
+#ifdef RUBY_USE_SETJMPEX
#include <setjmpex.h>
#endif