A patch for libio.h
H . J . Lu
hjl@valinux.com
Tue Nov 28 16:01:00 GMT 2000
Those
#if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
#endif
are not necessary since they are protected by
#if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
#endif
already.
--
H.J. Lu (hjl@valinux.com)
---
2000-11-28 H.J. Lu <hjl@gnu.org>
* libio/libio.h: Remove extra "#if ... #endif".
Index: libio/libio.h
===================================================================
RCS file: /work/cvs/gnu/glibc/libio/libio.h,v
retrieving revision 1.1.1.6
diff -u -p -r1.1.1.6 libio.h
--- libio/libio.h 2000/09/06 05:54:23 1.1.1.6
+++ libio/libio.h 2000/11/28 23:57:45
@@ -246,17 +246,13 @@ struct _IO_wide_data
backup area */
wchar_t *_IO_save_end; /* Pointer to end of non-current get area. */
-#if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
__mbstate_t _IO_state;
__mbstate_t _IO_last_state;
-#endif
struct _IO_codecvt _codecvt;
wchar_t _shortbuf[1];
-#if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
struct _IO_jump_t *_wide_vtable;
-#endif
};
#endif
More information about the Libc-alpha
mailing list