Skip to content

Commit

Permalink
fix #421: #define _WIN32_WINNT 0x0600
Browse files Browse the repository at this point in the history
  • Loading branch information
ithewei committed Aug 19, 2024
1 parent f1d5a27 commit 9e3e606
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions base/hplatform.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@

// headers
#ifdef OS_WIN
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0600
#elif _WIN32_WINNT < 0x0600
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0600
#endif
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
Expand Down

0 comments on commit 9e3e606

Please sign in to comment.