From 50dcbc8cc6c53ec4c47b513dcbcfe597d174d78c Mon Sep 17 00:00:00 2001 From: knu Date: Mon, 3 Sep 2001 05:18:02 +0000 Subject: * 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 --- error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'error.c') 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 -- cgit v1.2.3