|
|
@ -25,9 +25,13 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
/* Uses an anonymous union */ |
|
|
|
/* Uses an anonymous union */ |
|
|
|
#if defined(__clang__) |
|
|
|
#if defined(__clang__) || defined(__GNUC__) |
|
|
|
# pragma GCC diagnostic push |
|
|
|
# pragma GCC diagnostic push |
|
|
|
# pragma GCC diagnostic ignored "-Wc11-extensions" |
|
|
|
# if defined(__clang__) |
|
|
|
|
|
|
|
# pragma GCC diagnostic ignored "-Wc11-extensions" |
|
|
|
|
|
|
|
# else |
|
|
|
|
|
|
|
# pragma GCC diagnostic ignored "-Wpedantic" |
|
|
|
|
|
|
|
# endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#include "ares_private.h" |
|
|
|
#include "ares_private.h" |
|
|
@ -965,6 +969,6 @@ const ares_event_sys_t ares_evsys_win32 = { "win32", |
|
|
|
ares_evsys_win32_wait }; |
|
|
|
ares_evsys_win32_wait }; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if defined(__clang__) |
|
|
|
#if defined(__clang__) || defined(__GNUC__) |
|
|
|
# pragma GCC diagnostic pop |
|
|
|
# pragma GCC diagnostic pop |
|
|
|
#endif |
|
|
|
#endif |
|
|
|