[compiler-rt] r359419 - [builtins] Fix the typo in the preprocessor check
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 28 23:30:50 PDT 2019
Author: phosek
Date: Sun Apr 28 23:30:50 2019
New Revision: 359419
URL: http://llvm.org/viewvc/llvm-project?rev=359419&view=rev
Log:
[builtins] Fix the typo in the preprocessor check
This was introduced in r359413.
Modified:
compiler-rt/trunk/lib/builtins/int_lib.h
Modified: compiler-rt/trunk/lib/builtins/int_lib.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/int_lib.h?rev=359419&r1=359418&r2=359419&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/int_lib.h (original)
+++ compiler-rt/trunk/lib/builtins/int_lib.h Sun Apr 28 23:30:50 2019
@@ -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)) \
More information about the llvm-commits
mailing list