From: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> These seem to be defined whenever the __x86_64 and __x86_64__ macros are defined. So, do the same here too. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib.c b/lib.c index ee62eac1..9e72e8c4 100644 --- a/lib.c +++ b/lib.c @@ -1390,6 +1390,8 @@ static void predefined_macros(void) if (arch_m64 != ARCH_LP32) { predefine("__x86_64__", 1, "1"); predefine("__x86_64", 1, "1"); + predefine("__amd64__", 1, "1"); + predefine("__amd64", 1, "1"); break; } /* fall-through */ -- 2.23.0