summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-01-05 18:03:30 +0000
committertruelight <truelight@openttd.org>2007-01-05 18:03:30 +0000
commit27ccf594603aaed5cc3e3c0facb80b5d2c6f517e (patch)
treef394f5b6ee0204c1d3ca731562b5b2ae4b683044 /src/network
parent63b3620b9b38e8f1676cee673e364b1468591523 (diff)
downloadopenttd-27ccf594603aaed5cc3e3c0facb80b5d2c6f517e.tar.xz
(svn r7882) -Fix: OS2 is defined as UNIX too, but not for networking
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/os_abstraction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h
index df3cf65b3..d90b152a5 100644
--- a/src/network/core/os_abstraction.h
+++ b/src/network/core/os_abstraction.h
@@ -32,7 +32,7 @@ typedef unsigned long in_addr_t;
#endif /* WIN32 */
/* UNIX stuff */
-#if defined(UNIX)
+#if defined(UNIX) && !defined(__OS2__)
# define SOCKET int
# define INVALID_SOCKET -1
# if !defined(__MORPHOS__) && !defined(__AMIGA__)