Include emmintrin.h for Gaborator in Emscripten
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
DataHoarder 2022-07-15 17:52:13 +02:00
parent b77b6d919c
commit 874a5f9367
Signed by: DataHoarder
SSH key fingerprint: SHA256:OLTRf6Fl87G52SiR7sWLGNzlJt4WOX+tfI2yxo0z7xk

View file

@ -4,6 +4,13 @@
#ifdef __SSE3__
#define GABORATOR_USE_SSE3_INTRINSICS 1
#ifdef __EMSCRIPTEN__
#include <emmintrin.h>
typedef __m128d __v2df;
typedef __m128d __v4sf;
#endif
#endif
#include "gaborator/gaborator.h"