Commit 20ac253859

Andrew Kelley <andrew@ziglang.org>
2020-03-05 21:11:49
reapply mingw-w64 header patches
Fix compilation w/ clang f83bb3dd9e68899ca39cdddb7d84c2ad1c833d55
1 parent c0242f2
Changed files (1)
lib
libc
include
any-windows-any
lib/libc/include/any-windows-any/intrin.h
@@ -50,7 +50,7 @@
  * On GCC 4.9 we may always include those headers. On older GCCs, we may do it only if CPU
  * features used by them are enabled, so we need to check macros like __SSE__ or __MMX__ first.
  */
-#if __MINGW_GNUC_PREREQ(4, 9)
+#if __MINGW_GNUC_PREREQ(4, 9) || defined(__clang__)
 #define __MINGW_FORCE_SYS_INTRINS
 #endif