mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
272023190e
Make them compatible with both the Unix C headers and the MSVCRT headers. Ensure compatibility with the Unix headers via the USE_WS_PREFIX macro. Add WINE_NOWINSOCK: prevents winsock.h from being included from windows.h when defined. Add ws2tcpip.h, move definitions to the right header.
29 lines
500 B
C
29 lines
500 B
C
/* WSIPX.H
|
|
*/
|
|
|
|
#ifndef _WINE_WSIPX_
|
|
#define _WINE_WSIPX_
|
|
|
|
#ifdef USE_WS_PREFIX
|
|
# define WS(x) WS_##x
|
|
#else
|
|
# define WS(x) x
|
|
#endif
|
|
|
|
typedef struct WS_sockaddr_ipx
|
|
{
|
|
short sa_family;
|
|
char sa_netnum[4];
|
|
char sa_nodenum[6];
|
|
unsigned short sa_socket;
|
|
} SOCKADDR_IPX, *PSOCKADDR_IPX, *LPSOCKADDR_IPX;
|
|
|
|
/*
|
|
* constants
|
|
*/
|
|
#define NSPROTO_IPX 1000
|
|
#define NSPROTO_SPX 1256
|
|
#define NSPROTO_SPXII 1257
|
|
|
|
#undef WS
|
|
#endif /* _WINE_WSIPX_ */
|