1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Fix -Wundef warnings for _IO_JUMPS_OFFSET.

This commit is contained in:
Roland McGrath
2014-05-01 13:33:13 -07:00
parent c727f03253
commit 8f2f08d04f
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2014-05-01 Roland McGrath <roland@hack.frob.com> 2014-05-01 Roland McGrath <roland@hack.frob.com>
* libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
(_IO_JUMPS_OFFSET): Define to 0.
* nptl/sysdeps/pthread/bits/libc-lock.h * nptl/sysdeps/pthread/bits/libc-lock.h
[_LIBC && (!NOT_IN_libc || IS_IN_libpthread)] [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
(__libc_lock_define_initialized_recursive): Always define using (__libc_lock_define_initialized_recursive): Always define using

View File

@ -100,6 +100,8 @@ extern "C" {
#if (!defined _IO_USE_OLD_IO_FILE \ #if (!defined _IO_USE_OLD_IO_FILE \
&& (!defined _G_IO_NO_BACKWARD_COMPAT || _G_IO_NO_BACKWARD_COMPAT == 0)) && (!defined _G_IO_NO_BACKWARD_COMPAT || _G_IO_NO_BACKWARD_COMPAT == 0))
# define _IO_JUMPS_OFFSET 1 # define _IO_JUMPS_OFFSET 1
#else
# define _IO_JUMPS_OFFSET 0
#endif #endif
#define _IO_JUMPS(THIS) (THIS)->vtable #define _IO_JUMPS(THIS) (THIS)->vtable