[GB.NET.CURL]

* BUG: Add missing error opcodes in old curl libraries.

CNet.c:136: error: ‘CURLE_FTP_PRET_FAILED’ undeclared here (not in a
function)
CNet.c:139: error: ‘CURLE_FTP_BAD_FILE_LIST’ undeclared here (not in a
function)
CNet.c:140: error: ‘CURLE_CHUNK_FAILED’ undeclared here (not in a
function)
make[4]: *** [CNet.lo] Errore 1



git-svn-id: svn://localhost/gambas/trunk@4089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Laurent Carlier 2011-09-05 11:31:18 +00:00
parent 8cb4217952
commit 1c4c80dd35

View file

@ -30,6 +30,17 @@
#define GBCURL(x) (-(1000+x))
/* Fix building with old libcurl version */
#ifndef CURLE_FTP_PRET_FAILED
#define CURLE_FTP_PRET_FAILED 84
#endif
#ifndef CURLE_FTP_BAD_FILE_LIST
#define CURLE_FTP_BAD_FILE_LIST 87
#endif
#ifndef CURLE_CHUNK_FAILED 88
#endif
/* */
GB_DESC CNetDesc[] =
{
GB_DECLARE("Net", 0), GB_VIRTUAL_CLASS(),