windows: fix header conflict for msys2-w32api-headers 11.0.1+ (#1332)

This commit is contained in:
Conn O'Griofa 2023-05-30 01:00:52 +01:00 committed by GitHub
parent 7cc6fcd612
commit 72d63aae68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,9 +29,8 @@ using namespace std::literals;
#define SV(quote) __SV(quote) #define SV(quote) __SV(quote)
extern "C" { extern "C" {
constexpr auto DNS_REQUEST_PENDING = 9506L;
#ifndef __MINGW32__ #ifndef __MINGW32__
constexpr auto DNS_REQUEST_PENDING = 9506L;
constexpr auto DNS_QUERY_REQUEST_VERSION1 = 0x1; constexpr auto DNS_QUERY_REQUEST_VERSION1 = 0x1;
constexpr auto DNS_QUERY_RESULTS_VERSION1 = 0x1; constexpr auto DNS_QUERY_RESULTS_VERSION1 = 0x1;
#endif #endif