mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-14 08:21:42 +00:00
[Client] Use __WINDOWS define
This commit is contained in:
parent
8fa8b8d310
commit
4eb02af8fb
1 changed files with 2 additions and 2 deletions
|
@ -375,7 +375,7 @@ void Networking::preInit(std::vector<std::string> &content, Files::Collections &
|
|||
|
||||
if (!checksumsResponse.empty()) // something wrong
|
||||
{
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(__WINDOWS)
|
||||
errmsg = comparePlugins(checksums, checksumsResponse);
|
||||
#else
|
||||
errmsg = comparePluginsMonospaced(checksums, checksumsResponse);
|
||||
|
@ -386,7 +386,7 @@ void Networking::preInit(std::vector<std::string> &content, Files::Collections &
|
|||
{
|
||||
LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, comparePluginsMonospaced(checksums, checksumsResponse, true).c_str());
|
||||
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "tes3mp", errmsg.c_str(), 0);
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(__WINDOWS)
|
||||
throw std::runtime_error("Shutting down.");
|
||||
#endif
|
||||
MWBase::Environment::get().getStateManager()->requestQuit();
|
||||
|
|
Loading…
Reference in a new issue