diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-09-03 05:18:02 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-09-03 05:18:02 +0000 |
commit | 50dcbc8cc6c53ec4c47b513dcbcfe597d174d78c (patch) | |
tree | 212245f33aa0e5ec2f0606ad615e00b2b37849b9 | |
parent | f2accb2fe358671da79b0cb77bec860556293934 (diff) | |
download | ruby-50dcbc8cc6c53ec4c47b513dcbcfe597d174d78c.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | error.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Sep 3 14:11:17 2001 Akinori MUSHA <knu@iDaemons.org> + + * error.c: unbreak the build on *BSD with gcc 3.0.1 by removing + the conflicting declaration of sys_nerr for *BSD. + Sat Sep 1 09:50:54 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> * ruby.c (set_arg0): prevent SEGV when val is longer than the @@ -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 |