summaryrefslogtreecommitdiff
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
commit1c04c045bce94e75d6151b8038c214b5be72f1bd (patch)
treeeac554b81d3199e3d254859d6136730ed18a8b37 /eval_intern.h
parent37abaa0a6b5dba3f180b522aa493dda3ce1d1808 (diff)
merges r23317 from trunk into ruby_1_9_1.
-- * eval_intern.h (_longjmp): never return. see [ruby-core:23241] git-svn-id: svn+ssh://ci.ruby-lang.org/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 13d2d2b0ce..7d0cf3274b 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>