ruby-changes:11678
From: nobu <ko1@a...>
Date: Fri, 1 May 2009 13:18:16 +0900 (JST)
Subject: [ruby-changes:11678] Ruby:r23317 (trunk): * eval_intern.h (_longjmp): never return. see
nobu 2009-05-01 13:18:02 +0900 (Fri, 01 May 2009) New Revision: 23317 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23317 Log: * eval_intern.h (_longjmp): never return. see [ruby-core:23241] Modified files: trunk/ChangeLog trunk/eval_intern.h Index: eval_intern.h =================================================================== --- eval_intern.h (revision 23316) +++ eval_intern.h (revision 23317) @@ -67,7 +67,12 @@ #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> Index: ChangeLog =================================================================== --- ChangeLog (revision 23316) +++ ChangeLog (revision 23317) @@ -1,3 +1,7 @@ +Fri May 1 13:18:01 2009 Nobuyoshi Nakada <nobu@r...> + + * eval_intern.h (_longjmp): never return. see [ruby-core:23241] + Fri May 1 01:31:19 2009 Tanaka Akira <akr@f...> * ext/extmk.rb: use RbConfig instead of Config. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/