fix error "Chunk is too large" with gcc >=4.7.0 / mingw64
parent
27727f692b
commit
169e5b9f35
|
@ -25,7 +25,7 @@
|
||||||
# pragma pack(push,1)
|
# pragma pack(push,1)
|
||||||
# define PACK_STRUCT
|
# define PACK_STRUCT
|
||||||
#elif defined( __GNUC__ )
|
#elif defined( __GNUC__ )
|
||||||
# define PACK_STRUCT __attribute__((packed))
|
# define PACK_STRUCT __attribute__((gcc_struct, __packed__))
|
||||||
#else
|
#else
|
||||||
# error Compiler not supported
|
# error Compiler not supported
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue