Advertisement
programmador

dso_dlfcn.c fix for android-7 (5) target

Aug 15th, 2015
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.59 KB | None | 0 0
  1. #ifdef ANDROID5
  2.     typedef struct {
  3.         const char *dli_fname;  /* Pathname of shared object that
  4.                                    contains address */
  5.         void       *dli_fbase;  /* Address at which shared object
  6.                                    is loaded */
  7.         const char *dli_sname;  /* Name of nearest symbol with address
  8.                                    lower than addr */
  9.         void       *dli_saddr;  /* Exact address of symbol named
  10.                                in dli_sname */
  11.     } Dl_info;
  12.     int dladdr(const void *addr, Dl_info *info) { return 0; }
  13. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement