From 54d1c99ed7c10ba13ec6ae8dbacc3babe13b141f Mon Sep 17 00:00:00 2001 From: John Levon Date: Mon, 20 Jan 2020 02:47:24 -0800 Subject: define __PRAGMA_REDEFINE_EXTNAME As per: https://gcc.gnu.org/onlinedocs/gcc-4.6.3/gcc/Symbol_002dRenaming-Pragmas.html we should set this define. Signed-off-by: John Levon Signed-off-by: Luc Van Oostenryck --- lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib.c b/lib.c index 40e192a7..fdf7a9e9 100644 --- a/lib.c +++ b/lib.c @@ -1368,6 +1368,8 @@ static void predefined_macros(void) if (optimize_size) predefine("__OPTIMIZE_SIZE__", 0, "1"); + predefine("__PRAGMA_REDEFINE_EXTNAME", 1, "1"); + // Temporary hacks predefine("__extension__", 0, NULL); predefine("__pragma__", 0, NULL); -- cgit 1.2.3-korg