summaryrefslogtreecommitdiffstats
path: root/eval_intern.h
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-11 15:06:17 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-11 15:06:17 +0000
commitdf535c3515bd8a06e9dd64c14bc1bdf747d5bb12 (patch)
treeeac554b81d3199e3d254859d6136730ed18a8b37 /eval_intern.h
parent433cd7cec4cb3a43d21678510207f8d3433aaa9b (diff)
merges r23317 from trunk into ruby_1_9_1.
-- * eval_intern.h (_longjmp): never return. see [ruby-core:23241] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_intern.h')
-rw-r--r--eval_intern.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/eval_intern.h b/eval_intern.h
index 13d2d2b0c..7d0cf3274 100644
--- a/eval_intern.h
+++ b/eval_intern.h
@@ -67,7 +67,12 @@ char *strrchr(const char *, const char);
#define ruby_setjmp(env) RUBY_SETJMP(env)
#define ruby_longjmp(env,val) RUBY_LONGJMP(env,val)
#ifdef __CYGWIN__
-int _setjmp(), _longjmp();
+# ifndef _setjmp
+int _setjmp(jmp_buf);
+# endif
+# ifndef _longjmp
+NORETURN(void _longjmp(jmp_buf, int));
+# endif
#endif
#include <sys/types.h>