summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/asio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/asio.h')
-rw-r--r--src/osd/asio.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/osd/asio.h b/src/osd/asio.h
index 3ee31a467d7..0643bf332b4 100644
--- a/src/osd/asio.h
+++ b/src/osd/asio.h
@@ -17,19 +17,13 @@
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif
-#if defined(WIN32) && !defined(_WIN32_WINNT)
-#if defined(OSD_WINDOWS)
-#define _WIN32_WINNT 0x0501
-#else
-#define _WIN32_WINNT 0x0603
-#endif
+#if defined(_WIN32) && !defined(_WIN32_WINNT)
+#define _WIN32_WINNT 0x0600
#endif
+
#define ASIO_HEADER_ONLY
#define ASIO_STANDALONE
#define ASIO_SEPARATE_COMPILATION
-#define ASIO_NOEXCEPT noexcept(true)
-#define ASIO_NOEXCEPT_OR_NOTHROW noexcept(true)
-#define ASIO_ERROR_CATEGORY_NOEXCEPT noexcept(true)
#include <asio.hpp>
#undef interface