Selaa lähdekoodia

Merge pull request #83 from abma/master

fix .3DS error "Chunk is too large" with gcc >=4.7.0 / mingw
Alexander Gessler 12 vuotta sitten
vanhempi
commit
0cef55263e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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