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 /libio/libioP.h | |
parent | 53f1bed39263541ef7f3d86f9701005524938016 (diff) | |
download | glibc-f7efd7c3dfffa3c417e9d3c4cb19d9954a3b1421.tar glibc-f7efd7c3dfffa3c417e9d3c4cb19d9954a3b1421.tar.gz glibc-f7efd7c3dfffa3c417e9d3c4cb19d9954a3b1421.tar.bz2 glibc-f7efd7c3dfffa3c417e9d3c4cb19d9954a3b1421.zip |
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 'libio/libioP.h')
-rw-r--r-- | libio/libioP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/libioP.h b/libio/libioP.h index 8a7b85beb0..a59e95d89c 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -106,7 +106,7 @@ extern "C" { #define _IO_WIDE_JUMPS(THIS) ((struct _IO_FILE *) (THIS))->_wide_data->_wide_vtable #define _IO_CHECK_WIDE(THIS) (((struct _IO_FILE *) (THIS))->_wide_data != NULL) -#if _IO_JUMPS_OFFSET +#ifdef _IO_JUMPS_OFFSET # define _IO_JUMPS_FUNC(THIS) \ (*(struct _IO_jump_t **) ((void *) &_IO_JUMPS ((struct _IO_FILE_plus *) (THIS)) \ + (THIS)->_vtable_offset)) |