diff options
author | truelight <truelight@openttd.org> | 2007-01-05 18:03:30 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-01-05 18:03:30 +0000 |
commit | 82efaa746991da1724b300eb2170e67d4103a5be (patch) | |
tree | f394f5b6ee0204c1d3ca731562b5b2ae4b683044 /src/network/core | |
parent | 73f40b9f6ca7496e41a5af6abff9721107579ab4 (diff) | |
download | openttd-82efaa746991da1724b300eb2170e67d4103a5be.tar.xz |
(svn r7882) -Fix: OS2 is defined as UNIX too, but not for networking
Diffstat (limited to 'src/network/core')
-rw-r--r-- | src/network/core/os_abstraction.h | 2 |
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__) |