mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 00:36:43 +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.
30 lines
500 B
C
30 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_ */
|