summaryrefslogtreecommitdiff
path: root/AK/StdLibExtras.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AK/StdLibExtras.cpp')
-rw-r--r--AK/StdLibExtras.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/AK/StdLibExtras.cpp b/AK/StdLibExtras.cpp
index b807d5ebb9..ee8aa862d9 100644
--- a/AK/StdLibExtras.cpp
+++ b/AK/StdLibExtras.cpp
@@ -5,6 +5,7 @@
extern "C" {
+#ifndef KERNEL
void* mmx_memcpy(void* dest, const void* src, size_t len)
{
ASSERT(len >= 1024);
@@ -51,6 +52,7 @@ void* mmx_memcpy(void* dest, const void* src, size_t len)
memcpy(dest_ptr, src_ptr, len);
return dest;
}
+#endif
#ifdef KERNEL