summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/error.c b/error.c
index 393603f..1e53b9a 100644
--- a/error.c
+++ b/error.c
@@ -26,6 +26,10 @@
int sys_nerr = 256;
#endif
+#if defined __CYGWIN__ && defined _sys_nerr
+#define sys_nerr _sys_nerr
+#endif
+
int ruby_nerrs;
static void