ruby-changes:18254
From: kosaki <ko1@a...>
Date: Tue, 21 Dec 2010 00:40:13 +0900 (JST)
Subject: [ruby-changes:18254] Ruby:r30277 (trunk): * error.c: Fix build error for win32. This regression was
kosaki 2010-12-21 00:40:07 +0900 (Tue, 21 Dec 2010) New Revision: 30277 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30277 Log: * error.c: Fix build error for win32. This regression was introduced by r30271. Modified files: trunk/ChangeLog trunk/error.c Index: ChangeLog =================================================================== --- ChangeLog (revision 30276) +++ ChangeLog (revision 30277) @@ -1,3 +1,8 @@ +Tue Dec 21 01:18:06 2010 KOSAKI Motohiro <kosaki.motohiro@g...> + + * error.c: Fix build error for win32. This regression was + introduced by r30271. + Tue Dec 21 00:59:40 2010 KOSAKI Motohiro <kosaki.motohiro@g...> * thread.c (thread_cleanup_func): Moved interrupted_lock Index: error.c =================================================================== --- error.c (revision 30276) +++ error.c (revision 30277) @@ -25,6 +25,14 @@ #define EXIT_SUCCESS 0 #endif +#ifndef WIFEXITED +#define WIFEXITED(status) 1 +#endif + +#ifndef WEXITSTATUS +#define WEXITSTATUS(status) (status) +#endif + extern const char ruby_description[]; static const char * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/