diff options
Diffstat (limited to 'third_party/skcms/src/Transform.c')
-rw-r--r-- | third_party/skcms/src/Transform.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/skcms/src/Transform.c b/third_party/skcms/src/Transform.c index df31c7a1af..0de0727241 100644 --- a/third_party/skcms/src/Transform.c +++ b/third_party/skcms/src/Transform.c @@ -17,6 +17,15 @@ #include <stdint.h> #include <string.h> +// Without this wasm would try to use the N=4 128-bit vector code path, +// which while ideal, causes tons of compiler problems. This would be +// a good thing to revisit as emcc matures (currently 1.38.5). +#if 1 && defined(__EMSCRIPTEN_major__) + #if !defined(SKCMS_PORTABLE) + #define SKCMS_PORTABLE + #endif +#endif + extern bool g_skcms_dump_profile; bool g_skcms_dump_profile = false; |