summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-02-24 07:52:25 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-02-24 07:52:25 +0000
commit483e496d35d7138590b50afe9068ca82fb0fa146 (patch)
tree28cb7165e4f3fa33c5f945bcd669c8ecf71ab05d /legacy
parent2556aaddb634a568a7efe9233b406f6bf11dcd97 (diff)
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
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ecore/ChangeLog6
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file_download.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/legacy/ecore/ChangeLog b/legacy/ecore/ChangeLog
index 8b9d474b95..586b151686 100644
--- a/legacy/ecore/ChangeLog
+++ b/legacy/ecore/ChangeLog
@@ -54,7 +54,7 @@
54 * Add get calls in ecore_imf for ecore_imf_context_canvas_get() and 54 * Add get calls in ecore_imf for ecore_imf_context_canvas_get() and
55 ecore_imf_context_window_get(). 55 ecore_imf_context_window_get().
56 56
572011-02-21 Raoul Hecky 572011-02-21 Raoul Hecky
58 58
59 * Remove 300 second timeout so large downloads work in ecore_con. 59 * Remove 300 second timeout so large downloads work in ecore_con.
60 60
@@ -64,3 +64,7 @@
64 on fork. Have it detecti this on next monitor add and re-init the 64 on fork. Have it detecti this on next monitor add and re-init the
65 inotify fd and fd handler. 65 inotify fd and fd handler.
66 66
672011-02-24 Vincent Torri
68
69 * Ecore_File: fix compilation when ecore_con and curl are not
70 available
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file_download.c b/legacy/ecore/src/lib/ecore_file/ecore_file_download.c
index e8d806b3cc..ab8294a898 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file_download.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file_download.c
@@ -78,6 +78,8 @@ ecore_file_download_shutdown(void)
78#endif /* BUILD_ECORE_CON */ 78#endif /* BUILD_ECORE_CON */
79} 79}
80 80
81#ifdef BUILD_ECORE_CON
82# ifdef HAVE_CURL
81static Eina_Bool 83static Eina_Bool
82_ecore_file_download_headers_foreach_cb(const Eina_Hash *hash __UNUSED__, const void *key, void *data, void *fdata) 84_ecore_file_download_headers_foreach_cb(const Eina_Hash *hash __UNUSED__, const void *key, void *data, void *fdata)
83{ 85{
@@ -86,6 +88,8 @@ _ecore_file_download_headers_foreach_cb(const Eina_Hash *hash __UNUSED__, const
86 88
87 return EINA_TRUE; 89 return EINA_TRUE;
88} 90}
91# endif
92#endif
89 93
90static Eina_Bool 94static Eina_Bool
91_ecore_file_download(const char *url, 95_ecore_file_download(const char *url,