mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 14:29:05 -07:00
_MSC_VER fix
This commit is contained in:
parent
d45b44f2b5
commit
9d1d09c1e5
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ typedef enum _ENetProtocolFlag
|
|||
ENET_PROTOCOL_HEADER_SESSION_SHIFT = 12
|
||||
} ENetProtocolFlag;
|
||||
|
||||
#ifdef _MSC_VER_
|
||||
#ifdef _MSC_VER
|
||||
#pragma pack(push, 1)
|
||||
#define ENET_PACKED
|
||||
#elif defined(__GNUC__) || defined(__clang__)
|
||||
|
@ -191,7 +191,7 @@ typedef union _ENetProtocol
|
|||
ENetProtocolThrottleConfigure throttleConfigure;
|
||||
} ENET_PACKED ENetProtocol;
|
||||
|
||||
#ifdef _MSC_VER_
|
||||
#ifdef _MSC_VER
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue