mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Fix _IO_JUMPS_OFFSET -Wundef warnings
ChangeLog: 2014-03-17 Will Newton <will.newton@linaro.org> * libio/genops.c: Check whether _IO_JUMPS_OFFSET is defined with #ifdef rather than #if. * libio/libioP.h: Likewise. * stdio-common/vfprintf.c: Likewise.
This commit is contained in:
@@ -2297,7 +2297,7 @@ buffered_vfprintf (_IO_FILE *s, const CHAR_T *format,
|
||||
hp->_mode = -1;
|
||||
#endif
|
||||
hp->_IO_file_flags = _IO_MAGIC|_IO_NO_READS|_IO_USER_LOCK;
|
||||
#if _IO_JUMPS_OFFSET
|
||||
#ifdef _IO_JUMPS_OFFSET
|
||||
hp->_vtable_offset = 0;
|
||||
#endif
|
||||
#ifdef _IO_MTSAFE_IO
|
||||
|
Reference in New Issue
Block a user