Skip to content

Commit

Permalink
WindowsCompat: fix _mm_mfence compatibilty
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Oct 7, 2024
1 parent 4910835 commit 6169843
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/firestarter/WindowsCompat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ namespace {
#endif
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-function"
#if not(defined(__MINGW32__) || defined(__MINGW64__))
#if defined(__clang__)
#include <emmintrin.h>
#elif not(defined(__MINGW32__) || defined(__MINGW64__))
inline void _mm_mfence() noexcept {};
#endif
inline void __cpuid(int* /*unused*/, int /*unused*/) noexcept {};
Expand Down

0 comments on commit 6169843

Please sign in to comment.