summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-10-18 09:03:16 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-10-18 09:03:16 +0000
commit125ca1a11a53810ac311012352f5b0773fc2bbde (patch)
tree2b9ac558373e9742e475be19fed72bfb7924a0f9 /error.c
parent40a3f601e43a137e56b2c28454ffb6ce79d7ec7e (diff)
19991018
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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