瀏覽代碼

fix error "Chunk is too large" with gcc >=4.7.0 / mingw64

abma 12 年之前
父節點
當前提交
169e5b9f35
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/assimp/Compiler/pushpack1.h

+ 1 - 1
include/assimp/Compiler/pushpack1.h

@@ -25,7 +25,7 @@
 #	pragma pack(push,1)
 #	define PACK_STRUCT
 #elif defined( __GNUC__ )
-#	define PACK_STRUCT	__attribute__((packed))
+#	define PACK_STRUCT	__attribute__((gcc_struct, __packed__))
 #else
 #	error Compiler not supported
 #endif