浏览代码

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 12 年之前
父节点
当前提交
773afa3a05
共有 1 个文件被更改,包括 1 次插入1 次删除
  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__)