Attempt to fix java 8 native crash

This commit is contained in:
md_5 2021-06-26 11:39:53 +10:00
parent da27924a49
commit 1b489bcc11
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11
4 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
// Support for CentOS 6
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
void *__wrap_memcpy(void *dest, const void *src, size_t n) {
extern "C" void *__wrap_memcpy(void *dest, const void *src, size_t n) {
return memcpy(dest, src, n);
}

View File

@ -6,7 +6,7 @@
// Support for CentOS 6
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
void *__wrap_memcpy(void *dest, const void *src, size_t n) {
extern "C" void *__wrap_memcpy(void *dest, const void *src, size_t n) {
return memcpy(dest, src, n);
}