浏览代码

Merge pull request #4601 from assimp/kimkulling/fix_mingw_compilation_issue4586

Use mingw.include
Kim Kulling 3 年之前
父节点
当前提交
43f060663f
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      code/res/assimp.rc

+ 4 - 0
code/res/assimp.rc

@@ -1,5 +1,9 @@
 #include "revision.h"
 #include "revision.h"
+#ifdef __GNUC__
+#include "winresrc.h"
+#else
 #include "winres.h"
 #include "winres.h"
+#endif
 
 
 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
 #pragma code_page(1252)
 #pragma code_page(1252)