initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
19
thirdparty/libwebp/patches/0003-clang-cl-sse2-sse41.patch
vendored
Normal file
19
thirdparty/libwebp/patches/0003-clang-cl-sse2-sse41.patch
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
diff --git a/thirdparty/libwebp/src/dsp/cpu.h b/thirdparty/libwebp/src/dsp/cpu.h
|
||||
index c86540f280..4dbe607aec 100644
|
||||
--- a/thirdparty/libwebp/src/dsp/cpu.h
|
||||
+++ b/thirdparty/libwebp/src/dsp/cpu.h
|
||||
@@ -47,12 +47,12 @@
|
||||
// x86 defines.
|
||||
|
||||
#if !defined(HAVE_CONFIG_H)
|
||||
-#if defined(_MSC_VER) && _MSC_VER > 1310 && \
|
||||
+#if defined(_MSC_VER) && !defined(__clang__) && _MSC_VER > 1310 && \
|
||||
(defined(_M_X64) || defined(_M_IX86))
|
||||
#define WEBP_MSC_SSE2 // Visual C++ SSE2 targets
|
||||
#endif
|
||||
|
||||
-#if defined(_MSC_VER) && _MSC_VER >= 1500 && \
|
||||
+#if defined(_MSC_VER) && !defined(__clang__) && _MSC_VER >= 1500 && \
|
||||
(defined(_M_X64) || defined(_M_IX86))
|
||||
#define WEBP_MSC_SSE41 // Visual C++ SSE4.1 targets
|
||||
#endif
|
Reference in New Issue
Block a user