mirror of
https://github.com/holub/mame
synced 2025-06-10 14:52:42 +03: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
@ -139,7 +139,7 @@ if _OPTIONS["targetos"]=="windows" then
|
|||||||
defines {
|
defines {
|
||||||
"UNICODE",
|
"UNICODE",
|
||||||
"_UNICODE",
|
"_UNICODE",
|
||||||
"_WIN32_WINNT=0x0501",
|
"_WIN32_WINNT=0x0600",
|
||||||
"WIN32_LEAN_AND_MEAN",
|
"WIN32_LEAN_AND_MEAN",
|
||||||
"NOMINMAX",
|
"NOMINMAX",
|
||||||
}
|
}
|
||||||
|
@ -3,14 +3,10 @@
|
|||||||
|
|
||||||
defines {
|
defines {
|
||||||
"OSD_WINDOWS",
|
"OSD_WINDOWS",
|
||||||
"WIN32_LEAN_AND_MEAN",
|
|
||||||
"NOMINMAX",
|
|
||||||
}
|
|
||||||
|
|
||||||
configuration { "mingw* or vs*" }
|
|
||||||
defines {
|
|
||||||
"UNICODE",
|
"UNICODE",
|
||||||
"_UNICODE"
|
"_UNICODE"
|
||||||
|
"WIN32_LEAN_AND_MEAN",
|
||||||
|
"NOMINMAX",
|
||||||
}
|
}
|
||||||
|
|
||||||
configuration { "vs*" }
|
configuration { "vs*" }
|
||||||
|
@ -18,18 +18,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN32) && !defined(_WIN32_WINNT)
|
#if defined(_WIN32) && !defined(_WIN32_WINNT)
|
||||||
#if defined(OSD_WINDOWS)
|
#define _WIN32_WINNT 0x0600
|
||||||
#define _WIN32_WINNT 0x0501
|
|
||||||
#else
|
|
||||||
#define _WIN32_WINNT 0x0603
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ASIO_HEADER_ONLY
|
#define ASIO_HEADER_ONLY
|
||||||
#define ASIO_STANDALONE
|
#define ASIO_STANDALONE
|
||||||
#define ASIO_SEPARATE_COMPILATION
|
#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>
|
#include <asio.hpp>
|
||||||
#undef interface
|
#undef interface
|
||||||
|
Loading…
Reference in New Issue
Block a user