summaryrefslogtreecommitdiffstats
path: root/source/cMCLogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cMCLogger.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/source/cMCLogger.cpp b/source/cMCLogger.cpp
index 0c6d25df3..a084c62bf 100644
--- a/source/cMCLogger.cpp
+++ b/source/cMCLogger.cpp
@@ -1,16 +1,13 @@
-#include "cMCLogger.h"
-#include "cLog.h"
-#include "cCriticalSection.h"
-#include <stdio.h>
+#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
+
#include <cstdarg>
#include <time.h>
+#include "cLog.h"
+
+
+
-#ifndef _WIN32
-#define sprintf_s(buffer, buffer_size, stringbuffer, ...) (sprintf(buffer, stringbuffer, __VA_ARGS__))
-#else
-#include <Windows.h>
-#endif
cMCLogger* cMCLogger::s_MCLogger = 0;