summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/error.c b/error.c
index d54f43c539..7c9e22b9ed 100644
--- a/error.c
+++ b/error.c
@@ -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 *