0.2.0-dev Download ZIP
13 lines ·645 B Raw
| 1 | diff --git a/thirdparty/libwebp/src/dsp/cpu.c b/thirdparty/libwebp/src/dsp/cpu.c |
| 2 | index 816892fbc..b707fc38d 100644 |
| 3 | --- a/thirdparty/libwebp/src/dsp/cpu.c |
| 4 | +++ b/thirdparty/libwebp/src/dsp/cpu.c |
| 5 | @@ -179,7 +179,7 @@ static int AndroidCPUInfo(CPUFeature feature) { |
| 6 | } |
| 7 | WEBP_EXTERN VP8CPUInfo VP8GetCPUInfo; |
| 8 | VP8CPUInfo VP8GetCPUInfo = AndroidCPUInfo; |
| 9 | -#elif defined(EMSCRIPTEN) // also needs to be before generic NEON test |
| 10 | +#elif defined(__EMSCRIPTEN__) // also needs to be before generic NEON test |
| 11 | // Use compile flags as an indicator of SIMD support instead of a runtime check. |
| 12 | static int wasmCPUInfo(CPUFeature feature) { |
| 13 | switch (feature) { |