diff --git a/Core/Util/PortManager.h b/Core/Util/PortManager.h index 31b9f67f95..e5d778283f 100644 --- a/Core/Util/PortManager.h +++ b/Core/Util/PortManager.h @@ -37,18 +37,12 @@ #include #include -#ifdef _MSC_VER -#pragma pack(push,1) -#endif -typedef struct UPnPArgs { +struct UPnPArgs { int cmd; std::string protocol; unsigned short port; unsigned short intport; -} PACK; -#ifdef _MSC_VER -#pragma pack(pop) -#endif +}; #define IP_PROTOCOL_TCP "TCP" #define IP_PROTOCOL_UDP "UDP"