1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Fix events on Windows

This commit is contained in:
BlockMen 2015-12-11 22:40:37 +01:00
parent 6133b2bc45
commit aed10765f2
2 changed files with 4 additions and 11 deletions

View file

@ -30,7 +30,10 @@ DEALINGS IN THE SOFTWARE.
#include <condition_variable>
#include "threading/mutex.h"
#elif defined(_WIN32)
#include <windef.h>
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#else
#include <pthread.h>
#endif
@ -66,4 +69,3 @@ private:
};
#endif