mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed IP_Port packed struct being 1 byte too big on windows.
This commit is contained in:
parent
906969d376
commit
77d2ad373a
|
@ -185,10 +185,12 @@ typedef struct __attribute__ ((__packed__))
|
|||
}
|
||||
IP;
|
||||
|
||||
typedef struct __attribute__ ((__packed__)) IP_Port {
|
||||
typedef struct __attribute__ ((__packed__)) __attribute__((gcc_struct))
|
||||
{
|
||||
IP ip;
|
||||
uint16_t port;
|
||||
} IP_Port;
|
||||
}
|
||||
IP_Port;
|
||||
|
||||
#define TOX_ENABLE_IPV6_DEFAULT 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user