mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
2002-11-12 Roland McGrath <roland@redhat.com>
* libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_G_IO_NO_BACKWARD_COMPAT): Define it.
This commit is contained in:
parent
6e14793db0
commit
00404a964a
@ -87,6 +87,16 @@ 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_1)
|
||||
/* Setting this macro disables the use of the _vtable_offset
|
||||
bias in _IO_JUMPS_FUNCS, below. That is only needed if we
|
||||
want to support old binaries (see oldfileops.c). */
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user