Index: config-win32.h
===================================================================
--- config-win32.h	(Revision 4088)
+++ config-win32.h	(Arbeitskopie)
@@ -152,8 +152,14 @@
 #define HAVE_WINSOCK2_H 1
 #endif
 
-/* Define if you have the <ws2tcpip.h> header file. */
-#ifndef __SALFORDC__
+/* Define if you have the <ws2tcpip.h> header file and know it's working, e.g.
+   it doesn't produce warnings because of missing "__inline" operators, like
+   it's the case with __CODEGEARC__ under some circumstances. */
+#if (!defined(__SALFORDC__)   && \
+     !defined(__CODEGEARC__)) || \
+    ( defined(__CODEGEARC__)  && \
+      defined(__cplusplus)    && \
+             (__CODEGEARC__  >= 0x0660))
 #define HAVE_WS2TCPIP_H 1
 #endif
 
