1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/lang/icc7/files/patch-ia32::include::cstdio
Alexander Leidinger 6b11c196c9 Add missing files for the 7.0.078 update.
Pointy hat to:	netchild
2003-01-11 17:25:51 +00:00

39 lines
1.0 KiB
Plaintext

--- ia32/include/cstdio.orig Tue Nov 26 23:40:27 2002
+++ ia32/include/cstdio Tue Nov 26 23:40:27 2002
@@ -11,35 +11,6 @@
#else /* _STD_USING */
#include <stdio.h>
- #ifdef __GLIBC__
- #if _HAS_TRADITIONAL_IOSTREAMS
-_C_LIB_DECL
-int fileno(FILE *) __THROW;
-_END_C_LIB_DECL
- #else
- #endif /* _HAS_TRADITIONAL_IOSTREAMS */
- #define _HAS_POINTER_CLIB 1
- #define _RBEGIN _IO_read_base
- #define _RNEXT _IO_read_ptr
- #define _REND _IO_read_end
- #define _WBEGIN _IO_write_base
- #define _WNEXT _IO_write_ptr
- #define _WEND _IO_write_end
- #else /* __GLIBC__ */
- #define _HAS_CONVENTIONAL_CLIB 1
- #define _IOBASE _base
- #define _IOPTR _ptr
- #define _IOCNT _cnt
- #endif /* __GLIBC__ */
-
- #undef _FPOSOFF
- #if !defined(__GLIBC__) \
- || __GLIBC__ < 2 || __GLIBC__ == 2 && __GLIBC_MINOR__ < 2
- #define _FPOSOFF(fp) ((long)(fp))
- #else /* __GLIBC__ */
- #define _FPOSOFF(fp) ((long)(fp).__pos)
- #endif /* __GLIBC__ */
-
#ifdef _GLOBAL_USING
_STD_BEGIN
using ::size_t; using ::fpos_t; using ::FILE;