Переглянути джерело

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

Paul-Louis Ageneau 5 роки тому
батько
коміт
3079072e63
1 змінених файлів з 6 додано та 0 видалено
  1. 6 0
      include/rtc/include.hpp

+ 6 - 0
include/rtc/include.hpp

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