Quellcode durchsuchen

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 vor 12 Jahren
Ursprung
Commit
773afa3a05
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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__)