Added support for completely disabling noexcept using MIJIN_TEST_NO_NOEXCEPT (for testing).
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../detect.hpp"
|
||||
#include "../../internal/common.hpp"
|
||||
|
||||
#if MIJIN_TARGET_OS == MIJIN_OS_LINUX
|
||||
#include <fcntl.h>
|
||||
@@ -18,9 +19,9 @@
|
||||
namespace mijin::detail
|
||||
{
|
||||
#if MIJIN_TARGET_OS == MIJIN_OS_WINDOWS
|
||||
bool initWSA() noexcept;
|
||||
StreamError translateWSAError() noexcept;
|
||||
StreamError translateWinError(DWORD error) noexcept;
|
||||
StreamError translateWinError() noexcept;
|
||||
bool initWSA() MIJIN_NOEXCEPT;
|
||||
StreamError translateWSAError() MIJIN_NOEXCEPT;
|
||||
StreamError translateWinError(DWORD error) MIJIN_NOEXCEPT;
|
||||
StreamError translateWinError() MIJIN_NOEXCEPT;
|
||||
#endif // MIJIN_TARGET_OS == MIJIN_OS_WINDOWS
|
||||
}// namespace mijin::detail
|
||||
|
||||
Reference in New Issue
Block a user