|
@@ -33,7 +33,7 @@
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
|
|
|
/* As of Clang 11, '_m_prefetchw' is conflicting with the winnt.h's version,
|
|
|
so we define the needed '_m_prefetch' here as a pseudo-header, until the issue is fixed. */
|
|
|
-#ifdef __clang__
|
|
|
+#if defined(__clang__) && !SDL_HAS_BUILTIN(_m_prefetch)
|
|
|
#ifndef __PRFCHWINTRIN_H
|
|
|
#define __PRFCHWINTRIN_H
|
|
|
static __inline__ void __attribute__((__always_inline__, __nodebug__))
|