mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
AK: Don't compile mmx_memcpy() outside of ARCH(I386).
This commit is contained in:
parent
67c8748162
commit
7c8debfe46
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
|
#if ARCH(I386)
|
||||||
#ifndef KERNEL
|
#ifndef KERNEL
|
||||||
void* mmx_memcpy(void* dest, const void* src, size_t len)
|
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;
|
return dest;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef KERNEL
|
#ifdef KERNEL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue