From 03c0de167c318c53a8686e50067ef24f0f5d7d30 Mon Sep 17 00:00:00 2001 From: lsalzman Date: Wed, 3 Apr 2013 10:30:41 +0300 Subject: add clang check --- include/enet/protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3