From 20ed1f8d1a7ff59b884ff5d878b4fc99d0723f93 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 2 May 2002 07:50:36 +0000 Subject: * error.c: use HAVE_DECL_SYS_NERR instead of platform names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2423 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 65f4ec3745..8d95e4a395 100644 --- a/error.c +++ b/error.c @@ -513,7 +513,7 @@ static const syserr_index_entry syserr_index[]= { static VALUE *syserr_list; #endif -#if !defined(NT) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(sys_nerr) +#if !HAVE_DECL_SYS_NERR extern int sys_nerr; #endif -- cgit v1.2.3