From 6a49526b0f9ba19bef947a33dad29625d71cc47d Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 28 Jul 2009 22:50:50 +0000 Subject: [PATCH] 2009-07-29 00:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c ! disabled inet_pton() and inet_ntop() in OS2 GCC builds. --- harbour/ChangeLog | 4 ++++ harbour/source/rtl/hbsocket.c | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 6ccbc26b87..1d9c861d1b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-07-29 00:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rtl/hbsocket.c + ! disabled inet_pton() and inet_ntop() in OS2 GCC builds. + 2009-07-28 18:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c * return -1 instead of 0 on timeout in hb_socketSend*() and diff --git a/harbour/source/rtl/hbsocket.c b/harbour/source/rtl/hbsocket.c index a10263fe3e..7f1728f88b 100644 --- a/harbour/source/rtl/hbsocket.c +++ b/harbour/source/rtl/hbsocket.c @@ -144,9 +144,7 @@ # define HB_HAS_INET_PTON # define HB_HAS_INET_NTOP # else - /* please verify it and disable unsupported options in GCC OS2 */ -# define HB_HAS_INET_PTON -# define HB_HAS_INET_NTOP + /* test shows that GCC 3.3.6 does not supported inet_pton() and inet_ntop() */ # endif #endif