From 27ccf594603aaed5cc3e3c0facb80b5d2c6f517e Mon Sep 17 00:00:00 2001 From: truelight Date: Fri, 5 Jan 2007 18:03:30 +0000 Subject: (svn r7882) -Fix: OS2 is defined as UNIX too, but not for networking --- src/network/core/os_abstraction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network') 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__) -- cgit v1.2.3-70-g09d2