Shamrock: fix error as clover.cpp changed

This commit is contained in:
白池 2024-02-02 18:37:47 +08:00
parent af7b0f732e
commit 649d8771ca

View File

@ -138,7 +138,6 @@ char * __cdecl my_strstr(const char *lhs, const char *rhs) {
}
int fake_memcmp(const void* __lhs, const void* __rhs, size_t __n) {
int fake_memcmp(const void* __lhs, const void* __rhs, size_t __n) {
if (__lhs == nullptr || __rhs == nullptr) {
if (__n != 0) {
LOGI("[Shamrock] undefined behaviour in fake_memcmp");