@@ -13,8 +13,11 @@
limitations under the License. */
#pragma once
+// Modified by Lasse Oorni for Urho3D
+
#ifdef WIN32
-#include <Windows.h>
+// Urho3D: windows.h in lowercase to fix MinGW cross-compiling on a case-sensitive system
+#include <windows.h>
#endif
/** @file Atomics.h
@@ -16,8 +16,11 @@
/** @file Clock.h
@brief The Clock class. Supplies timing facilities. */
+// Modifed by Lasse Oorni for Urho3D
namespace kNet
@@ -16,11 +16,14 @@
/** @file Lockable.h
@brief The Lock<T> and Lockable<T> template classes. */
#ifdef KNET_USE_BOOST
#include <boost/thread/recursive_mutex.hpp>
#include <boost/thread/thread.hpp>
#elif defined(WIN32)
#else
#include <pthread.h>
@@ -16,6 +16,8 @@
/** @file Thread.h
@brief The Thread class. Implements threading either using Boost, native Win32 or pthreads constructs. */
#include <string>
@@ -23,7 +25,8 @@
@@ -18,10 +18,13 @@
Idea and code taken from http://randomascii.wordpress.com/2012/02/14/64-bit-made-easy/ */
#ifdef _WIN64
#include "kNet/64BitAllocDebugger.h"
#include <stdio.h>
#include <vector>
BottomMemoryAllocator::BottomMemoryAllocator()