aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-05-01 13:33:13 -0700
committerRoland McGrath <roland@hack.frob.com>2014-05-01 13:33:13 -0700
commit8f2f08d04f969f27dad47ee2d9dcbe567f2873bc (patch)
tree39e417a6aefb6c949b792f30019de2cf6d1acaec /libio
parentc727f0325376e202d095be718daf64661409e499 (diff)
downloadglibc-8f2f08d04f969f27dad47ee2d9dcbe567f2873bc.zip
glibc-8f2f08d04f969f27dad47ee2d9dcbe567f2873bc.tar.gz
glibc-8f2f08d04f969f27dad47ee2d9dcbe567f2873bc.tar.bz2
Fix -Wundef warnings for _IO_JUMPS_OFFSET.
Diffstat (limited to 'libio')
-rw-r--r--libio/libioP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/libioP.h b/libio/libioP.h
index 8a7b85b..bd94041 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -100,6 +100,8 @@ extern "C" {
#if (!defined _IO_USE_OLD_IO_FILE \
&& (!defined _G_IO_NO_BACKWARD_COMPAT || _G_IO_NO_BACKWARD_COMPAT == 0))
# define _IO_JUMPS_OFFSET 1
+#else
+# define _IO_JUMPS_OFFSET 0
#endif
#define _IO_JUMPS(THIS) (THIS)->vtable