move vtm/jni to separate c project

This commit is contained in:
Hannes Janetzek
2013-12-03 20:10:56 +01:00
parent c16ffef0bd
commit 3630155ad0
45 changed files with 645 additions and 2 deletions

18
jni/memcpy_wrap.c Normal file
View File

@@ -0,0 +1,18 @@
#ifndef __ANDROID__
#ifdef __linux__
#ifdef __x86_64__
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
void *__wrap_memcpy(void * destination, const void * source, size_t num)
{
return memcpy(destination, source, num);
}
#endif
#endif
#endif