summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-03 05:18:02 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-03 05:18:02 +0000
commit50dcbc8cc6c53ec4c47b513dcbcfe597d174d78c (patch)
tree212245f33aa0e5ec2f0606ad615e00b2b37849b9 /error.c
parentf2accb2fe358671da79b0cb77bec860556293934 (diff)
* error.c: unbreak the build on *BSD with gcc 3.0.1 by removing
the conflicting declaration of sys_nerr for *BSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index f988f387c1..544c8c798d 100644
--- a/error.c
+++ b/error.c
@@ -506,7 +506,7 @@ static const syserr_index_entry syserr_index[]= {
static VALUE *syserr_list;
#endif
-#if !defined NT && !defined sys_nerr
+#if !defined(NT) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(sys_nerr)
extern int sys_nerr;
#endif