libobs/util: Do not include SIMDe for MinGW targets

MinGW comes with it's own intrinsics macros as regular MSVC does.
On MinGW the inclusion of SIMDe would cause multiple definitions
of the same macro names.

Since sse-intrin.h leaks into the public header space this
will cause 3rd party plugins build with MinGW tool-chains emit
redeclaration warnings when including obs-module.h.
This commit is contained in:
Florian Zwoch
2023-04-04 09:58:10 +02:00
committed by Lain
parent b756c78f44
commit dd6841143d
+1 -1
View File
@@ -17,7 +17,7 @@
#pragma once
#if defined(_MSC_VER) && \
#if (defined(_MSC_VER) || defined(__MINGW32__)) && \
((defined(_M_X64) && !defined(_M_ARM64EC)) || defined(_M_IX86))
#include <emmintrin.h>
#else