summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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__)