mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 14:29:05 -07:00
add clang check
This commit is contained in:
parent
714f40319a
commit
03c0de167c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue