forked from enlightenment/efl
Ecore ecore_file:
fix compilation when ecore_con and curl are not available When ecore_con and curl are not available, a callback using them is still compiled. SVN revision: 57293
This commit is contained in:
parent
2556aaddb6
commit
483e496d35
|
@ -64,3 +64,7 @@
|
|||
on fork. Have it detecti this on next monitor add and re-init the
|
||||
inotify fd and fd handler.
|
||||
|
||||
2011-02-24 Vincent Torri
|
||||
|
||||
* Ecore_File: fix compilation when ecore_con and curl are not
|
||||
available
|
||||
|
|
|
@ -78,6 +78,8 @@ ecore_file_download_shutdown(void)
|
|||
#endif /* BUILD_ECORE_CON */
|
||||
}
|
||||
|
||||
#ifdef BUILD_ECORE_CON
|
||||
# ifdef HAVE_CURL
|
||||
static Eina_Bool
|
||||
_ecore_file_download_headers_foreach_cb(const Eina_Hash *hash __UNUSED__, const void *key, void *data, void *fdata)
|
||||
{
|
||||
|
@ -86,6 +88,8 @@ _ecore_file_download_headers_foreach_cb(const Eina_Hash *hash __UNUSED__, const
|
|||
|
||||
return EINA_TRUE;
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
static Eina_Bool
|
||||
_ecore_file_download(const char *url,
|
||||
|
|
Loading…
Reference in New Issue