Skip to content

Commit e85d84e

Browse files
committed
emscripten: Fix pixman SIMD patch
1 parent e94cc54 commit e85d84e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

emscripten/pixman-wasm.patch

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
-#if defined (__GNUC__)
88
+#if defined (__GNUC__) && !defined(__EMSCRIPTEN__)
99
#include <cpuid.h>
10+
#elif defined(_MSC_VER)
11+
#include <intrin.h>
1012
#endif
1113

1214
+#if !defined(__EMSCRIPTEN__)

0 commit comments

Comments
 (0)