[libc-commits] [libc] c4a0d71 - [libc] Fix ifdef in compiler.h. (#172324)
via libc-commits
libc-commits at lists.llvm.org
Mon Dec 15 08:11:35 PST 2025
Author: lntue
Date: 2025-12-15T16:11:30Z
New Revision: c4a0d7138697f1a712a5689690150844fe12d8d9
URL: https://github.com/llvm/llvm-project/commit/c4a0d7138697f1a712a5689690150844fe12d8d9
DIFF: https://github.com/llvm/llvm-project/commit/c4a0d7138697f1a712a5689690150844fe12d8d9.diff
LOG: [libc] Fix ifdef in compiler.h. (#172324)
Added:
Modified:
libc/src/__support/macros/properties/compiler.h
Removed:
################################################################################
diff --git a/libc/src/__support/macros/properties/compiler.h b/libc/src/__support/macros/properties/compiler.h
index d51bdfcf5760c..592f6c2ba1c95 100644
--- a/libc/src/__support/macros/properties/compiler.h
+++ b/libc/src/__support/macros/properties/compiler.h
@@ -38,7 +38,7 @@
#define LIBC_COMPILER_IS_MSVC
// https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros
#define LIBC_COMPILER_MSVC_VER (_MSC_VER)
-#ifdef(_M_X64)
+#ifdef _M_X64
#define LIBC_COMPILER_IS_MSVC_X64
#else
#define LIBC_COMPILER_IS_MSVC_X86
More information about the libc-commits
mailing list