# else
# include <sys/types.h>
# include <nlist.h>
-@@ -1550,11 +1552,14 @@
- /**/
- #endif /* !AIXDYNAMIC */
-
--#ifndef RTLD_LAZY
--# define RTLD_LAZY 1
--#endif
--#ifndef RTLD_GLOBAL
--# define RTLD_GLOBAL 0
-+#ifndef __ANDROID__
-+/* On Android RTLD_LAZY and RTLD_LAZY are enum values so cannot ifdef check. */
-+# ifndef RTLD_LAZY
-+# define RTLD_LAZY 1
-+# endif
-+# ifndef RTLD_GLOBAL
-+# define RTLD_GLOBAL 0
-+# endif
- #endif
-
- /*