aboutsummaryrefslogtreecommitdiffstats
path: root/tcc/include/winapi/wsipx.h
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2023-12-12 11:41:26 -0500
committerGravatar Peter McGoron 2023-12-12 11:41:26 -0500
commitff489bd82ff313bcfd7dc2ab585ed31cec909ebd (patch)
tree300e031693a5ddb990a32068ab0596382349aeea /tcc/include/winapi/wsipx.h
parentinit (diff)
fix software to compile properly on Windows XP x86
Diffstat (limited to 'tcc/include/winapi/wsipx.h')
-rw-r--r--tcc/include/winapi/wsipx.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/tcc/include/winapi/wsipx.h b/tcc/include/winapi/wsipx.h
new file mode 100644
index 0000000..ff831a1
--- /dev/null
+++ b/tcc/include/winapi/wsipx.h
@@ -0,0 +1,28 @@
+/* WSIPX.H - contributed by the WINE project
+ */
+
+#ifndef _WSIPX_H
+#define _WSIPX_H
+#if __GNUC__ >=3
+#pragma GCC system_header
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define NSPROTO_IPX 1000
+#define NSPROTO_SPX 1256
+#define NSPROTO_SPXII 1257
+
+typedef struct sockaddr_ipx {
+ short sa_family;
+ char sa_netnum[4];
+ char sa_nodenum[6];
+ unsigned short sa_socket;
+} SOCKADDR_IPX, *PSOCKADDR_IPX, *LPSOCKADDR_IPX;
+
+#ifdef __cplusplus
+}
+#endif
+#endif