mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Fix Windows build.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"ecode-linux": {
|
||||
"build": [
|
||||
{
|
||||
"args": "--with-debug-symbols --with-text-shaper gmake",
|
||||
"args": "--with-debug-symbols --disable-static-build --with-text-shaper gmake",
|
||||
"command": "premake4",
|
||||
"working_dir": "${project_root}"
|
||||
},
|
||||
@@ -496,4 +496,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,12 @@
|
||||
|
||||
#if EE_PLATFORM == EE_PLATFORM_WIN
|
||||
|
||||
#include <eepp/system/platform/win/muteximpl.hpp>
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#include <windows.h>
|
||||
|
||||
#include <eepp/system/mutex.hpp>
|
||||
|
||||
namespace EE { namespace System { namespace Platform {
|
||||
|
||||
@@ -38,7 +43,7 @@ class ConditionImpl {
|
||||
int mConditionnedVar;
|
||||
|
||||
HANDLE mCond;
|
||||
MutexImpl mMutex;
|
||||
Mutex mMutex;
|
||||
};
|
||||
|
||||
}}} // namespace EE::System::Platform
|
||||
|
||||
Reference in New Issue
Block a user