mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
PortManager warning fix. The #pragma pack stuff was redundant anyway
This commit is contained in:
1 parent
4b0ac494d0
commit
779a156251
1 file changed
+2
-8
@@ -37,18 +37,12 @@
|
||||
#include <string>
|
||||
#include <deque>
|
||||
|
||||
#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"
|
||||
|
||||
Reference in new issue
Block a user