mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 11:09:05 +03: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
Notes:
sideshowbarker
2024-07-17 19:44:44 +09:00
Author: https://github.com/mnlrsn Commit: https://github.com/SerenityOS/serenity/commit/951e4490fb5 Pull-request: https://github.com/SerenityOS/serenity/pull/11981
@ -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…
Reference in New Issue
Block a user