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:
parent
55e09533db
commit
67aecface5
|
@ -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 }
|
#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 */
|
#endif /* USE_WS_PREFIX */
|
||||||
|
|
||||||
|
#define SS_PORT(ssp) (((PSOCKADDR_IN)(ssp))->sin_port)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue