mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
AK: Don't compile mmx_memcpy() outside of ARCH(I386).
This commit is contained in:
parent
67c8748162
commit
7c8debfe46
Notes:
sideshowbarker
2024-07-19 13:03:44 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/7c8debfe469
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
extern "C" {
|
||||
|
||||
#if ARCH(I386)
|
||||
#ifndef KERNEL
|
||||
void* mmx_memcpy(void* dest, const void* src, size_t len)
|
||||
{
|
||||
|
@ -54,6 +55,7 @@ void* mmx_memcpy(void* dest, const void* src, size_t len)
|
|||
return dest;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef KERNEL
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue