ares_setup.h (c-ares-1.17.1) | : | ares_setup.h (c-ares-1.17.2) | ||
---|---|---|---|---|
skipping to change at line 180 | skipping to change at line 180 | |||
#ifdef __POCC__ | #ifdef __POCC__ | |||
# include <sys/types.h> | # include <sys/types.h> | |||
# include <unistd.h> | # include <unistd.h> | |||
# define ESRCH 3 | # define ESRCH 3 | |||
#endif | #endif | |||
/* | /* | |||
* Android does have the arpa/nameser.h header which is detected by configure | * Android does have the arpa/nameser.h header which is detected by configure | |||
* but it appears to be empty with recent NDK r7b / r7c, so we undefine here. | * but it appears to be empty with recent NDK r7b / r7c, so we undefine here. | |||
* z/OS does have the arpa/nameser.h header which is detected by configure | ||||
* but it is not fully implemented and missing identifiers, so udefine here. | ||||
*/ | */ | |||
#if (defined(ANDROID) || defined(__ANDROID__)) && defined(HAVE_ARPA_NAMESER_H) | #if (defined(ANDROID) || defined(__ANDROID__) || defined(__MVS__)) && \ | |||
defined(HAVE_ARPA_NAMESER_H) | ||||
# undef HAVE_ARPA_NAMESER_H | # undef HAVE_ARPA_NAMESER_H | |||
#endif | #endif | |||
/* | /* | |||
* Recent autoconf versions define these symbols in ares_config.h. We don't | * Recent autoconf versions define these symbols in ares_config.h. We don't | |||
* want them (since they collide with the libcurl ones when we build | * want them (since they collide with the libcurl ones when we build | |||
* --enable-debug) so we undef them again here. | * --enable-debug) so we undef them again here. | |||
*/ | */ | |||
#undef PACKAGE_STRING | #undef PACKAGE_STRING | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 4 lines changed or added |