diff options
author | Will Newton <will.newton@linaro.org> | 2014-03-17 10:54:12 +0000 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-03-17 16:05:23 +0000 |
commit | f7efd7c3dfffa3c417e9d3c4cb19d9954a3b1421 (patch) | |
tree | 6b5198c45416fe41c22d8dc393c20326013ebe68 /stdio-common | |
parent | 53f1bed39263541ef7f3d86f9701005524938016 (diff) | |
download | glibc-f7efd7c3dfffa3c417e9d3c4cb19d9954a3b1421.zip glibc-f7efd7c3dfffa3c417e9d3c4cb19d9954a3b1421.tar.gz glibc-f7efd7c3dfffa3c417e9d3c4cb19d9954a3b1421.tar.bz2 |
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.
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/vfprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index f7e5f61..70cdba4 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -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 |