[GB.NET.CURL]

* BUG: Really fix compilation on old versions of libcurl.


git-svn-id: svn://localhost/gambas/trunk@4091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2011-09-05 19:21:26 +00:00
parent 54c5fdcbe8
commit 721c80fd98

View File

@ -30,16 +30,17 @@
#define GBCURL(x) (-(1000+x))
/* Fix building with old libcurl version */
// Constants not defined in old versions of libcurl
#ifndef CURLE_FTP_PRET_FAILED
#define CURLE_FTP_PRET_FAILED 84
#define CURLE_FTP_PRET_FAILED 84
#endif
#ifndef CURLE_FTP_BAD_FILE_LIST
#define CURLE_FTP_BAD_FILE_LIST 87
#define CURLE_FTP_BAD_FILE_LIST 87
#endif
#ifndef CURLE_CHUNK_FAILED 88
#ifndef CURLE_CHUNK_FAILED
#define CURLE_CHUNK_FAILED 88
#endif
/* */
GB_DESC CNetDesc[] =
{