@@ -26,7 +26,7 @@
#include <Urho3D/Scene/Scene.h>
#ifdef WIN32
-#include <windows.h>
+#include <Urho3D/Engine/WinWrapped.h>
#endif
#include <assimp/config.h>
@@ -9,7 +9,7 @@
#include <Urho3D/IO/PackageFile.h>
#include <LZ4/lz4.h>
#include <Urho3D/Core/StringUtils.h>
#include <STB/stb_image_write.h>
@@ -17,7 +17,7 @@
#include <Urho3D/DebugNew.h>
@@ -12,7 +12,7 @@
#include <Urho3D/Resource/XMLFile.h>
#define STBRP_LARGE_RECTS
@@ -6,7 +6,7 @@
#include "../Core/Condition.h"
#ifdef _WIN32
+#include "../Engine/WinWrapped.h"
#else
#include <pthread.h>
@@ -7,12 +7,12 @@
#include "../Core/MiniDump.h"
#include "../Core/ProcessUtils.h"
#include <cstdio>
#include <io.h>
#include <fcntl.h>
#include <time.h>
#include <dbghelp.h>
namespace Urho3D
#include "../Core/Mutex.h"
@@ -23,7 +23,7 @@ extern "C" unsigned SDL_TVOS_GetActiveProcessorCount();
#if defined(_WIN32)
#if defined(_MSC_VER)
#include <float.h>
#include "../Core/Thread.h"
#include <ctime>
#include <mmsystem.h>
#elif __EMSCRIPTEN__
#include <emscripten/emscripten.h>
// Needs to be included above sql.h for windows
#define NOMINMAX
+#include "../../Engine/WinWrapped.h"
#include <sqlext.h>
@@ -29,7 +29,7 @@
#ifndef _MSC_VER
#define _WIN32_IE 0x501
#include <shellapi.h>
#include <direct.h>
#include <shlobj.h>
@@ -10,7 +10,7 @@
#include "../Core/Profiler.h"
#elif __linux__
#include <sys/inotify.h>
extern "C"
@@ -8,7 +8,7 @@
#include "../IO/Log.h"
#include <sys/stat.h>