mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Fix Windows build
Fixes the issue introduced by c1a0ebb (Fix use of uninitialised variable in class Event) causing Windows builds to fail
This commit is contained in:
parent
8fe753c3d9
commit
c92cff5d52
@ -26,7 +26,6 @@ DEALINGS IN THE SOFTWARE.
|
||||
#include "threading/event.h"
|
||||
|
||||
Event::Event()
|
||||
: notified(false)
|
||||
{
|
||||
#if __cplusplus < 201103L
|
||||
# ifdef _WIN32
|
||||
@ -34,6 +33,7 @@ Event::Event()
|
||||
# else
|
||||
pthread_cond_init(&cv, NULL);
|
||||
pthread_mutex_init(&mutex, NULL);
|
||||
notified = false;
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user