From 8f2f08d04f969f27dad47ee2d9dcbe567f2873bc Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 1 May 2014 13:33:13 -0700 Subject: Fix -Wundef warnings for _IO_JUMPS_OFFSET. --- libio/libioP.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libio') 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 -- cgit v1.1