mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-12 09:54:36 +01:00
Attempt to fix bzero missing when compiling with xcode.
This commit is contained in:
parent
d9a32544b4
commit
d66a14ae39
@ -35,6 +35,15 @@ void* memcpy(void* dst, const void* src, UINTN count)
|
||||
return dst;
|
||||
}
|
||||
|
||||
#if defined(__clang__)
|
||||
|
||||
|
||||
void __bzero(void *dst, UINTN n)
|
||||
{
|
||||
SetMem(dst, n, (UINT8)(0));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
} // extern "C"
|
||||
|
Loading…
Reference in New Issue
Block a user