win: always set _WIN32_WINNT to 0x0600

This commit is contained in:
Bert Belder 2018-06-05 17:32:31 -07:00
parent 95c6d8b7a1
commit 9fa0461e33
No known key found for this signature in database
GPG Key ID: 7A77887B2E2ED461

View File

@ -10,13 +10,11 @@
#pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
#if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0600
#if defined(_WIN32_WINNT)
#undef _WIN32_WINNT
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0600
#endif
#ifdef __clang__
#pragma clang diagnostic pop