LibGfx: Avoid inclusion of xmmintrin.h on non-X86 architectures

Gamma.h includes xmmintrin.h, which is X86-only. The file contains
code in other places that is compiled conditionally on __SSE__, so the
same macro is used to determine inclusion of the header.
This commit is contained in:
Morten Larsen 2022-01-18 00:56:49 +01:00 committed by Brian Gianforcaro
parent 2c3b297895
commit 951e4490fb
Notes: sideshowbarker 2024-07-17 19:44:44 +09:00

View File

@ -8,7 +8,10 @@
#include "Color.h"
#include <AK/Math.h>
#include <xmmintrin.h>
#ifdef __SSE__
# include <xmmintrin.h>
#endif
#include <AK/SIMD.h>