Explorar el Código

Fix WinXP compatibility of kNet's Clock class.

Lasse Öörni hace 10 años
padre
commit
ac60622d6b
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      Source/ThirdParty/kNet/src/Clock.cpp

+ 5 - 0
Source/ThirdParty/kNet/src/Clock.cpp

@@ -15,6 +15,11 @@
 /** @file Clock.cpp
 	@brief */
 
+// Modified by Lasse Oorni for Urho3D
+
+// Urho3D: ensure that kNetBuildConfig.h is included for WinXP compatibility
+#include "kNetBuildConfig.h"
+
 #if defined(__unix__) || defined(__native_client__) || defined(EMSCRIPTEN) || defined(ANDROID) || defined(__APPLE__) || defined (__CYGWIN__)
 #include <time.h>
 #include <errno.h>