From: Bruno Haible Date: Sun, 1 Mar 2009 13:59:39 +0000 (+0100) Subject: More support for FreeMiNT. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f67ee68a0b6865fe62aba6d8aec695da9299fa3;hp=e0ffcc54b25141ac005b9db616429cb37d0cb8d5;p=pspp More support for FreeMiNT. --- diff --git a/ChangeLog b/ChangeLog index 2f0ba74221..042250bce0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-03-01 Bruno Haible + + More support for FreeMiNT. + * lib/fseeko.c (rpl_fseeko): Complete last commit. + Reported by Alan Hourihane . + 2009-03-01 Bruno Haible More support for FreeMiNT. diff --git a/lib/fseeko.c b/lib/fseeko.c index 78e2b2facf..813e6abe7e 100644 --- a/lib/fseeko.c +++ b/lib/fseeko.c @@ -117,6 +117,9 @@ rpl_fseeko (FILE *fp, off_t offset, int whence) fp->_flags &= ~_IOEOF; #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw */ fp->_flag &= ~_IOEOF; +#elif defined __MINT__ /* Atari FreeMiNT */ + fp->__offset = pos; + fp->__eof = 0; #endif /* If we were not requested to position beyond end of file, we're done. */