From ba45daab1417b099ec1743a3187320b5488775a4 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Mon, 29 Apr 2019 06:30:50 +0000 Subject: [PATCH] [builtins] Fix the typo in the preprocessor check This was introduced in r359413. llvm-svn: 359419 --- compiler-rt/lib/builtins/int_lib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/builtins/int_lib.h b/compiler-rt/lib/builtins/int_lib.h index 4eb0565fc369..31f4b8131905 100644 --- a/compiler-rt/lib/builtins/int_lib.h +++ b/compiler-rt/lib/builtins/int_lib.h @@ -51,7 +51,7 @@ #if defined(__ELF__) || defined(__MINGW32__) || defined(__wasm__) #define COMPILER_RT_ALIAS(name, aliasname) \ COMPILER_RT_ABI __typeof(name) aliasname __attribute__((__alias__(#name))); -#elif defines(__MACH__) +#elif defined(__MACH__) #define COMPILER_RT_ALIAS(name, aliasname) \ __asm__(".globl " SYMBOL_NAME(aliasname)); \ __asm__(SYMBOL_NAME(aliasname) " = " SYMBOL_NAME(name)) \