From 169e5b9f35acd505ae2e664ca363a84d6bb7794a Mon Sep 17 00:00:00 2001 From: abma Date: Thu, 29 Aug 2013 06:31:10 +0200 Subject: [PATCH] fix error "Chunk is too large" with gcc >=4.7.0 / mingw64 --- include/assimp/Compiler/pushpack1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/assimp/Compiler/pushpack1.h b/include/assimp/Compiler/pushpack1.h index 14edc5cd4..71e6089bd 100644 --- a/include/assimp/Compiler/pushpack1.h +++ b/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