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:
Vincent Torri 2011-02-24 07:52:25 +00:00
parent 2556aaddb6
commit 483e496d35
2 changed files with 9 additions and 1 deletions

View File

@ -54,7 +54,7 @@
* Add get calls in ecore_imf for ecore_imf_context_canvas_get() and
ecore_imf_context_window_get().
2011-02-21 Raoul Hecky
2011-02-21 Raoul Hecky
* Remove 300 second timeout so large downloads work in ecore_con.
@ -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

View File

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