These seems to be defined whenever s__x86_64 & __x86_64__ 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 45402e51f..28ca49c7c 100644 --- a/lib.c +++ b/lib.c @@ -1609,6 +1609,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.24.0