diff options
Diffstat (limited to 'm68k-unknown-amigaos/recipes/patches/bison/fseterr.c.p')
-rw-r--r-- | m68k-unknown-amigaos/recipes/patches/bison/fseterr.c.p | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/bison/fseterr.c.p b/m68k-unknown-amigaos/recipes/patches/bison/fseterr.c.p new file mode 100644 index 0000000..a47a2f9 --- /dev/null +++ b/m68k-unknown-amigaos/recipes/patches/bison/fseterr.c.p @@ -0,0 +1,11 @@ +--- lib/fseterr.c.old 2020-03-11 10:08:25.275228721 +0000 ++++ lib/fseterr.c 2020-03-11 10:08:35.199250194 +0000 +@@ -29,7 +29,7 @@ + /* Most systems provide FILE as a struct and the necessary bitmask in + <stdio.h>, because they need it for implementing getc() and putc() as + fast macros. */ +-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ ++#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ + fp->_flags |= _IO_ERR_SEEN; + #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */ + fp_->_flags |= __SERR; |