add clang to pushpack1.h

This commit is contained in:
escherstair
2018-11-08 09:25:48 +01:00
committed by GitHub
parent 2d74514eab
commit e97d07ce82

View File

@@ -25,7 +25,7 @@
#if defined(_MSC_VER) || defined(__BORLANDC__) || defined (__BCPLUSPLUS__)
# pragma pack(push,1)
# define PACK_STRUCT
#elif defined( __GNUC__ )
#elif defined( __GNUC__ ) || defined(__clang__)
# if !defined(HOST_MINGW)
# define PACK_STRUCT __attribute__((__packed__))
# else