This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: _G_IO_NO_BACKWARD_COMPAT


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]