From a45194d863da690df82952859cb26b3ad52eb2f5 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 20 Jul 2009 08:29:14 +0000 Subject: [PATCH] 2009-07-20 10:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * include/hbapinet.h ! Fix for Cygwin. --- harbour/ChangeLog | 4 ++++ harbour/include/hbapinet.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 3f23721119..312eaafe53 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-07-20 10:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * include/hbapinet.h + ! Fix for Cygwin. + 2009-07-20 10:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * include/hbapinet.h * source/rtl/hbinet.c diff --git a/harbour/include/hbapinet.h b/harbour/include/hbapinet.h index 86737b8094..6927e45efc 100644 --- a/harbour/include/hbapinet.h +++ b/harbour/include/hbapinet.h @@ -62,7 +62,7 @@ HB_EXTERN_BEGIN -#if defined( HB_OS_WIN ) +#if defined( HB_OS_WIN ) && ! defined( HB_OS_UNIX_COMPATIBLE ) #define HB_SOCKET_T SOCKET #define _WINSOCKAPI_ /* Prevents inclusion of winsock.h in windows.h */