2008-07-01 18:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

* contrib/hbcurl/hbcurl.c
     ! Fixed version checking.
This commit is contained in:
Viktor Szakats
2008-07-01 16:35:21 +00:00
parent 3635cff5ce
commit 795e1b3e3e
2 changed files with 6 additions and 10 deletions

View File

@@ -8,6 +8,10 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
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

View File

@@ -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