[libcxx-commits] [libcxx] [libc++] Fix C++23 standard modules when using with `clang-cl` on Windows (PR #148992)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 15 18:02:24 PDT 2025


================
@@ -51,6 +51,9 @@ module;
 #include <cstdio>
 #include <cstdlib>
 #include <cstring>
+#ifdef _LIBCPP_ABI_VCRUNTIME
+#define _BUILD_STD_MODULE
+#endif
----------------
siradam7th wrote:

I defined before the include to make it known why it is needed, I'll look into moving it

https://github.com/llvm/llvm-project/pull/148992


More information about the libcxx-commits mailing list