include: Add define SS_PORT.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2019-07-29 23:07:40 +00:00 committed by Alexandre Julliard
parent 55e09533db
commit 67aecface5
1 changed files with 2 additions and 0 deletions

View File

@ -280,6 +280,8 @@ typedef struct WS(in_pktinfo) {
#define WS_IN6ADDR_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }
#endif /* USE_WS_PREFIX */
#define SS_PORT(ssp) (((PSOCKADDR_IN)(ssp))->sin_port)
#ifdef __cplusplus
extern "C" {
#endif