Explorar o código

Bugfix: fixed error building libRocket with MinGW

When librocket was build with MinGW the wrong platform was selected. As
a consequence the wrong code was compiled which lead to corrupted
libraries.
Walter Heil %!s(int64=12) %!d(string=hai) anos
pai
achega
773afa3a05
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Include/Rocket/Core/Platform.h

+ 1 - 1
Include/Rocket/Core/Platform.h

@@ -28,7 +28,7 @@
 #ifndef ROCKETCOREPLATFORM_H
 #define ROCKETCOREPLATFORM_H
 
-#if defined __WIN32__ || defined _WIN32
+#if (defined __WIN32__ || defined _WIN32) && !defined __MINGW32__
 	#define ROCKET_PLATFORM_WIN32
 	#define ROCKET_PLATFORM_NAME "win32"
 	#if !defined(__MINGW32__)