Home | History | Annotate | Download | only in jni
      1 #ifndef __ANDROID__
      2 #ifdef __linux__
      3 #ifdef __x86_64__
      4 
      5 #include <stdio.h>
      6 #include <stdlib.h>
      7 #include <string.h>
      8 
      9 __asm__(".symver memcpy,memcpy (at) GLIBC_2.2.5");
     10 
     11 void *__wrap_memcpy(void * destination, const void * source, size_t num)
     12 {
     13         return memcpy(destination, source, num);
     14 }
     15 
     16 #endif
     17 #endif
     18 #endif