summaryrefslogtreecommitdiff
path: root/gnu/egcs/libio/iolibio.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-01-29 15:27:28 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-01-29 15:27:28 +0000
commitfbbd8adf8ad208245f18c2e4a068810b9c401242 (patch)
tree13008452e954d3f8bced87002eda49ce086db406 /gnu/egcs/libio/iolibio.h
parent82acc2c5e72b389f6c60f8d6f0652eb24d8bb831 (diff)
2.95.3, test release 2
Diffstat (limited to 'gnu/egcs/libio/iolibio.h')
-rw-r--r--gnu/egcs/libio/iolibio.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/egcs/libio/iolibio.h b/gnu/egcs/libio/iolibio.h
index 083b198b448..0ebc14f7ac2 100644
--- a/gnu/egcs/libio/iolibio.h
+++ b/gnu/egcs/libio/iolibio.h
@@ -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) \