about summary refs log tree commit diff
path: root/libio/genops.c
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-03-17 10:54:12 +0000
committerWill Newton <will.newton@linaro.org>2014-03-17 16:05:23 +0000
commitf7efd7c3dfffa3c417e9d3c4cb19d9954a3b1421 (patch)
tree6b5198c45416fe41c22d8dc393c20326013ebe68 /libio/genops.c
parent53f1bed39263541ef7f3d86f9701005524938016 (diff)
downloadglibc-f7efd7c3dfffa3c417e9d3c4cb19d9954a3b1421.tar.gz
glibc-f7efd7c3dfffa3c417e9d3c4cb19d9954a3b1421.tar.xz
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/genops.c')
-rw-r--r--libio/genops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/genops.c b/libio/genops.c
index e0ce8cc0f4..42efe58ea1 100644
--- a/libio/genops.c
+++ b/libio/genops.c
@@ -624,7 +624,7 @@ _IO_old_init (fp, flags)
   fp->_IO_save_end = NULL;
   fp->_markers = NULL;
   fp->_cur_column = 0;
-#if _IO_JUMPS_OFFSET
+#ifdef _IO_JUMPS_OFFSET
   fp->_vtable_offset = 0;
 #endif
 #ifdef _IO_MTSAFE_IO