From 795e1b3e3e03dd97bbdb141f4a045db44ab0e58a Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 1 Jul 2008 16:35:21 +0000 Subject: [PATCH] 2008-07-01 18:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcurl/hbcurl.c ! Fixed version checking. --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbcurl/hbcurl.c | 12 ++---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 8cd199fb17..7b237e8c30 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-07-01 18:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * contrib/hbcurl/hbcurl.c + ! Fixed version checking. + 2008-07-01 18:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * harbour-ce-spec * harbour-w32-spec diff --git a/harbour/contrib/hbcurl/hbcurl.c b/harbour/contrib/hbcurl/hbcurl.c index a6c7a57ba7..ebc45077b6 100644 --- a/harbour/contrib/hbcurl/hbcurl.c +++ b/harbour/contrib/hbcurl/hbcurl.c @@ -73,16 +73,8 @@ #define HB_CURL_OPT_BOOL( n ) ( ISLOG( n ) ? ( long ) hb_parl( n ) : ( ISNUM( n ) ? hb_parnl( n ) : 1 ) ) #define HB_CURL_OPT_LARGENUM( n ) ( ( curl_off_t ) hb_parnint( n ) ) -/* NOTE: Since LIBCURL_VERSION_NUM doesn't reflect real revision, - we're simply redefining it to the latest version available, - and use the #ifs for documentation purposes only. [vszakats] */ -#ifdef LIBCURL_VERSION_NUM - #undef LIBCURL_VERSION_NUM - #define LIBCURL_VERSION_NUM 0x071801 -#endif - -#if LIBCURL_VERSION_NUM < 0x071700 - #error hbcurl: we need libcurl 7.17.0 or upper. +#if LIBCURL_VERSION_NUM < 0x071100 + #error hbcurl: Harbour hbcurl needs libcurl 7.17.0 or upper. #endif typedef struct _HB_CURL