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
|
@ -54,7 +54,7 @@
|
||||||
* Add get calls in ecore_imf for ecore_imf_context_canvas_get() and
|
* Add get calls in ecore_imf for ecore_imf_context_canvas_get() and
|
||||||
ecore_imf_context_window_get().
|
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.
|
* 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
|
on fork. Have it detecti this on next monitor add and re-init the
|
||||||
inotify fd and fd handler.
|
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 */
|
#endif /* BUILD_ECORE_CON */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef BUILD_ECORE_CON
|
||||||
|
# ifdef HAVE_CURL
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_ecore_file_download_headers_foreach_cb(const Eina_Hash *hash __UNUSED__, const void *key, void *data, void *fdata)
|
_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;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_ecore_file_download(const char *url,
|
_ecore_file_download(const char *url,
|
||||||
|
|
Loading…
Reference in New Issue