diff options
author | lsalzman <[email protected]> | 2013-04-03 10:30:41 +0300 |
---|---|---|
committer | lsalzman <[email protected]> | 2013-04-03 10:30:41 +0300 |
commit | 03c0de167c318c53a8686e50067ef24f0f5d7d30 (patch) | |
tree | 895ac870c2b629d176e8ea0af7931550f1af3572 /include | |
parent | 714f40319ac4f92c9859753071e9341005e05dac (diff) | |
download | enet-03c0de167c318c53a8686e50067ef24f0f5d7d30.tar.gz enet-03c0de167c318c53a8686e50067ef24f0f5d7d30.zip |
add clang check
Diffstat (limited to 'include')
-rw-r--r-- | include/enet/protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/enet/protocol.h b/include/enet/protocol.h index f8a27d8..8e7beab 100644 --- a/include/enet/protocol.h +++ b/include/enet/protocol.h @@ -57,7 +57,7 @@ typedef enum _ENetProtocolFlag #ifdef _MSC_VER_ #pragma pack(push, 1) #define ENET_PACKED -#elif defined(__GNUC__) +#elif defined(__GNUC__) || defined(__clang__) #define ENET_PACKED __attribute__ ((packed)) #else #define ENET_PACKED |