diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-20 15:40:07 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-20 15:40:07 +0000 |
commit | 12b8ff1f464e86df401ccc7b532a0e0074f0babb (patch) | |
tree | 4a29686521fcfe0e590a86cd6f063cf71edf75e7 /error.c | |
parent | 1ff6a1953cafbec8ec93fe07112599f59c7cb873 (diff) | |
download | ruby-12b8ff1f464e86df401ccc7b532a0e0074f0babb.tar.gz |
* error.c: Fix build error for win32. This regression was
introduced by r30271.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 * |