Attempt to fix bzero missing when compiling with xcode.

This commit is contained in:
jief666 2021-02-07 19:27:19 +03:00
parent d9a32544b4
commit d66a14ae39

View File

@ -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"