mirror of
https://github.com/mamedev/mame.git
synced 2024-09-28 03:20:58 +02:00
-osd/asio.h: Removed leftover C++03 support helpers.
-Set Win32 API version to 0x0600 for Windows SDL builds.
This commit is contained in:
parent
3ef9a7db09
commit
45b63ce946
3 changed files with 5 additions and 15 deletions
|
@ -139,7 +139,7 @@ if _OPTIONS["targetos"]=="windows" then
|
|||
defines {
|
||||
"UNICODE",
|
||||
"_UNICODE",
|
||||
"_WIN32_WINNT=0x0501",
|
||||
"_WIN32_WINNT=0x0600",
|
||||
"WIN32_LEAN_AND_MEAN",
|
||||
"NOMINMAX",
|
||||
}
|
||||
|
|
|
@ -3,16 +3,12 @@
|
|||
|
||||
defines {
|
||||
"OSD_WINDOWS",
|
||||
"UNICODE",
|
||||
"_UNICODE"
|
||||
"WIN32_LEAN_AND_MEAN",
|
||||
"NOMINMAX",
|
||||
}
|
||||
|
||||
configuration { "mingw* or vs*" }
|
||||
defines {
|
||||
"UNICODE",
|
||||
"_UNICODE"
|
||||
}
|
||||
|
||||
configuration { "vs*" }
|
||||
flags {
|
||||
"Unicode",
|
||||
|
|
|
@ -18,18 +18,12 @@
|
|||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(_WIN32_WINNT)
|
||||
#if defined(OSD_WINDOWS)
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#else
|
||||
#define _WIN32_WINNT 0x0603
|
||||
#endif
|
||||
#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
|
||||
|
|
Loading…
Reference in a new issue