diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | error.c | 8 |
2 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue Dec 21 01:18:06 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * error.c: Fix build error for win32. This regression was + introduced by r30271. + Tue Dec 21 00:59:40 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * thread.c (thread_cleanup_func): Moved interrupted_lock @@ -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 * |