aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/defines.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-18 14:57:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-18 14:57:59 +0000
commit344db69c452565dd20022093ff67874d420e55fe (patch)
treed3e13f083ad266345ed309e366eff4462d46e5d1 /include/ruby/defines.h
parent9cc1cc2045469323fdd97aaf0a17585db5686d69 (diff)
downloadruby-344db69c452565dd20022093ff67874d420e55fe.tar.gz
configure.in: setjmpex
* configure.in (setjmp-type): use setjmpex() on w64-mingw32 to get rid of -Wclobbered warnings. * include/ruby/defines.h: include setjmpex.h here becase setjmp.h is included from win32.h via intrin.h, winnt.h, and so on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/defines.h')
-rw-r--r--include/ruby/defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h
index ec6a1a94d5..31a8f6b22a 100644
--- a/include/ruby/defines.h
+++ b/include/ruby/defines.h
@@ -61,6 +61,10 @@ extern "C" {
# include <sys/select.h>
#endif
+#ifdef HAVE_SETJMPEX_H
+#include <setjmpex.h>
+#endif
+
#define RUBY
#ifdef __cplusplus