_G_IO_NO_BACKWARD_COMPAT
Roland McGrath
roland@frob.com
Sun Nov 10 18:19:00 GMT 2002
If you want to try this patch on a platform that starts at GLIBC_2.2,
it should work:
--- libioP.h.~1.59.~ Tue Nov 5 02:31:57 2002
+++ libioP.h Sun Nov 10 11:38:36 2002
@@ -87,6 +87,13 @@ extern "C" {
* object being acted on (i.e. the 'this' parameter).
*/
+#ifdef _LIBC
+# include <shlib-compat.h>
+# if !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
+# define _G_IO_NO_BACKWARD_COMPAT 1
+# endif
+#endif
+
#if (!defined _IO_USE_OLD_IO_FILE \
&& (!defined _G_IO_NO_BACKWARD_COMPAT || _G_IO_NO_BACKWARD_COMPAT == 0))
# define _IO_JUMPS_OFFSET 1
More information about the Libc-alpha
mailing list