summaryrefslogtreecommitdiffstats
path: root/source/cSemaphore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cSemaphore.cpp')
-rw-r--r--source/cSemaphore.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/source/cSemaphore.cpp b/source/cSemaphore.cpp
index 96c542df6..3bc83f393 100644
--- a/source/cSemaphore.cpp
+++ b/source/cSemaphore.cpp
@@ -1,14 +1,9 @@
-#include "cSemaphore.h"
-#include "cMCLogger.h"
-#ifdef _WIN32
-#include <Windows.h>
-#else
-#include <semaphore.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <stdio.h>
-#endif
+#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
+
+
+
+
cSemaphore::cSemaphore( unsigned int a_MaxCount, unsigned int a_InitialCount /* = 0 */ )
#ifndef _WIN32