From 9c0ff0c1c817ca27665efb4233f91f1916d8f45b Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 18 May 2013 16:40:10 +0000 Subject: 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 --- include/ruby/defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ruby/defines.h') 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 #endif -#ifdef HAVE_SETJMPEX_H +#if defined HAVE_SETJMPEX_H && defined HAVE__SETJMPEX #include #endif -- cgit v1.2.3