mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
ASIO - header only mode (nw)
This commit is contained in:
parent
a9cf3fbfba
commit
e2d58b6a16
@ -50,7 +50,6 @@ function osdmodulesbuild()
|
||||
}
|
||||
|
||||
files {
|
||||
MAME_DIR .. "src/osd/asio.cpp",
|
||||
MAME_DIR .. "src/osd/osdnet.cpp",
|
||||
MAME_DIR .. "src/osd/osdnet.h",
|
||||
MAME_DIR .. "src/osd/watchdog.cpp",
|
||||
|
@ -1,27 +0,0 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Miodrag Milanovic
|
||||
/***************************************************************************
|
||||
|
||||
asio.cpp
|
||||
|
||||
ASIO library implementation loader
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
// Clang warnings with -Weverything
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
||||
#pragma clang diagnostic ignored "-Winconsistent-missing-override"
|
||||
#pragma clang diagnostic ignored "-Wunused-local-typedef"
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wsuggest-override"
|
||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||
#endif
|
||||
|
||||
#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/impl/src.hpp"
|
@ -17,6 +17,7 @@
|
||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||
#endif
|
||||
|
||||
#define ASIO_HEADER_ONLY
|
||||
#define ASIO_STANDALONE
|
||||
#define ASIO_SEPARATE_COMPILATION
|
||||
#define ASIO_NOEXCEPT noexcept(true)
|
||||
|
Loading…
Reference in New Issue
Block a user