olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1505492-undef-19.patch

00db10
commit 8f2f08d04f969f27dad47ee2d9dcbe567f2873bc
00db10
Author: Roland McGrath <roland@hack.frob.com>
00db10
Date:   Thu May 1 13:33:13 2014 -0700
00db10
00db10
    Fix -Wundef warnings for _IO_JUMPS_OFFSET.
00db10
00db10
diff --git a/libio/libioP.h b/libio/libioP.h
00db10
index c170b872028c7a5f..b60244ac5fc3d908 100644
00db10
--- a/libio/libioP.h
00db10
+++ b/libio/libioP.h
00db10
@@ -100,6 +100,8 @@ extern "C" {
00db10
 #if (!defined _IO_USE_OLD_IO_FILE \
00db10
      && (!defined _G_IO_NO_BACKWARD_COMPAT || _G_IO_NO_BACKWARD_COMPAT == 0))
00db10
 # define _IO_JUMPS_OFFSET 1
00db10
+#else
00db10
+# define _IO_JUMPS_OFFSET 0
00db10
 #endif
00db10
 
00db10
 #define _IO_JUMPS(THIS) (THIS)->vtable