Browse Source

For Win32, define _WIN32_WINNT to 0x0601 (Windows 7) if undefined

Paul-Louis Ageneau 5 years ago
parent
commit
3079072e63
1 changed files with 6 additions and 0 deletions
  1. 6 0
      include/rtc/include.hpp

+ 6 - 0
include/rtc/include.hpp

@@ -19,6 +19,12 @@
 #ifndef RTC_INCLUDE_H
 #define RTC_INCLUDE_H
 
+#ifdef _WIN32
+#ifndef _WIN32_WINNT
+#define _WIN32_WINNT 0x0602
+#endif
+#endif
+
 #include <cstddef>
 #include <functional>
 #include <memory>