mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:17:34 +00:00
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:
parent
2c3b297895
commit
951e4490fb
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,10 @@
|
|||
|
||||
#include "Color.h"
|
||||
#include <AK/Math.h>
|
||||
#include <xmmintrin.h>
|
||||
|
||||
#ifdef __SSE__
|
||||
# include <xmmintrin.h>
|
||||
#endif
|
||||
|
||||
#include <AK/SIMD.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue