1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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/branches/ruby_1_6@1719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2001-09-03 05:18:02 +00:00
parent 1c6f488ca7
commit 9f1e0829da
2 changed files with 6 additions and 1 deletions

View file

@ -468,7 +468,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