]> gcc.gnu.org Git - gcc.git/commitdiff
stdstreams.cc: Include <libio.h>, not "libio.h".
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>
Sat, 23 Sep 2000 17:01:47 +0000 (17:01 +0000)
committerFranz Sirl <sirl@gcc.gnu.org>
Sat, 23 Sep 2000 17:01:47 +0000 (17:01 +0000)
        2000-09-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * stdstreams.cc: Include <libio.h>, not "libio.h".
        * iolibio.h: Likewise.
        (_IO_pos_BAD): Use _IO_off_t instead of _IO_fpos_t.
        * libio.h (_IO_USER_LOCK): Define.

From-SVN: r36580

libio/ChangeLog
libio/iolibio.h
libio/libio.h
libio/stdstreams.cc

index dc57df059d8ab3f5468efca92c7846b423906573..43763a8b61e4bb5e906662675e07d28eb9b7dbfc 100644 (file)
@@ -1,3 +1,10 @@
+2000-09-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * stdstreams.cc: Include <libio.h>, not "libio.h".
+       * iolibio.h: Likewise.
+       (_IO_pos_BAD): Use _IO_off_t instead of _IO_fpos_t.
+       * libio.h (_IO_USER_LOCK): Define.
+
 2000-08-18  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
 
        * editbuf.h (edit_streambuf): Fix syntax error in
index 083b198b4485da1c294bc765ca5f33bd59861a7d..0ebc14f7ac2b66069434b8bd907624cc3f13c134 100644 (file)
@@ -1,4 +1,4 @@
-#include "libio.h"
+#include <libio.h>
 
 /* These emulate stdio functionality, but with a different name
    (_IO_ungetc instead of ungetc), and using _IO_FILE instead of FILE. */
@@ -38,7 +38,11 @@ extern int _IO_obstack_vprintf __P ((struct obstack *, const char *,
                                     _IO_va_list));
 extern int _IO_obstack_printf __P ((struct obstack *, const char *, ...));
 #ifndef _IO_pos_BAD
-#define _IO_pos_BAD ((_IO_fpos_t)(-1))
+# if defined(_G_IO_IO_FILE_VERSION) && _G_IO_IO_FILE_VERSION == 0x20001
+#  define _IO_pos_BAD ((_IO_off64_t) -1)
+# else
+#  define _IO_pos_BAD ((_IO_off_t) -1)
+# endif
 #endif
 #define _IO_clearerr(FP) ((FP)->_flags &= ~(_IO_ERR_SEEN|_IO_EOF_SEEN))
 #define _IO_fseek(__fp, __offset, __whence) \
index b4dffa85ea43337f6d23b3c2babbdaa4fb09d4e5..c453b77bf30dd4727e20b7ca217ad5bfa1de43bf 100644 (file)
 #define _IO_IS_APPENDING 0x1000
 #define _IO_IS_FILEBUF 0x2000
 #define _IO_BAD_SEEN 0x4000
+#define _IO_USER_LOCK 0x8000
 
 /* These are "formatting flags" matching the iostream fmtflags enum values. */
 #define _IO_SKIPWS 01
index a5889d738e22f06790cddf4b91820023ce42ccc6..7a74eaaa4433fab558cc60ab9a5704ca93342ef5 100644 (file)
@@ -36,7 +36,7 @@ the executable file might be covered by the GNU General Public License. */
 // then we don't need to, since in that case stdin/stdout/stderr
 // are identical to _IO_stdin/_IO_stdout/_IO_stderr.
 
-#include "libio.h"
+#include <libio.h>
 
 #ifdef _STDIO_USES_IOSTREAM
 #define CIN_SBUF _IO_stdin_
This page took 0.067824 seconds and 5 git commands to generate.