diff options
author | 2016-11-07 10:37:37 +0100 | |
---|---|---|
committer | 2016-11-07 10:37:37 +0100 | |
commit | ce0e6e6a3e114625e6b33a2ab75489a5b0cba17b (patch) | |
tree | 14a24b32ee50c1647ee987982a7d78449e23dd9b | |
parent | d91005ebc33581ecc076e6760eb2b788fc663a15 (diff) |
Add _WIN32_WINNT so H file could be used and outside OSD section (nw)
-rw-r--r-- | src/osd/asio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osd/asio.h b/src/osd/asio.h index 67efe07acda..1bcf610610f 100644 --- a/src/osd/asio.h +++ b/src/osd/asio.h @@ -17,6 +17,9 @@ #pragma GCC diagnostic ignored "-Wunused-variable" #endif +#if defined(WIN32) && !defined(_WIN32_WINNT) +#define _WIN32_WINNT 0x0501 +#endif #define ASIO_HEADER_ONLY #define ASIO_STANDALONE #define ASIO_SEPARATE_COMPILATION |