1 diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/dlfcn.h ./usr/include/dlfcn.h
2 --- /home/fornwall/lib/android-ndk/sysroot/usr/include/dlfcn.h 2017-06-07 01:07:52.000000000 +0200
3 +++ ./usr/include/dlfcn.h 2017-06-18 01:32:23.881672767 +0200
6 int dladdr(const void* addr, Dl_info* _Nonnull info);
9 +/* Termux modification: Use #define for these instead of an enum
10 + to improve compatibility with ifdef checks. */
22 +# define RTLD_LOCAL 0
24 - RTLD_GLOBAL = 0x00100,
25 +# define RTLD_GLOBAL 0x00100
28 +# define RTLD_GLOBAL 2
31 - RTLD_NODELETE = 0x01000,
33 +# define RTLD_NOLOAD 4
34 +# define RTLD_NODELETE 0x01000
36 #if defined (__LP64__)
37 #define RTLD_DEFAULT __BIONIC_CAST(reinterpret_cast, void*, 0)