This makes ecore-file useable without ecore-con. Signed-off-by: Marc Andre Tanner <m...@brain-dump.org> --- src/lib/ecore_file/ecore_file_download.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/lib/ecore_file/ecore_file_download.c b/src/lib/ecore_file/ecore_file_download.c index a46fce9..17c43ae 100644 --- a/src/lib/ecore_file/ecore_file_download.c +++ b/src/lib/ecore_file/ecore_file_download.c @@ -14,6 +14,8 @@ #define ECORE_MAGIC_FILE_DOWNLOAD_JOB 0xf7427cb8 +#ifdef BUILD_ECORE_CON + typedef struct _Ecore_File_Download_Job Ecore_File_Download_Job; struct _Ecore_File_Download_Job { @@ -282,3 +284,17 @@ _ecore_file_download_abort(Ecore_File_Download_Job *job) free(job->dst); free(job); } + +#else +int +ecore_file_download_init(void) +{ + return 1; +} + +void +ecore_file_download_shutdown(void) +{ + +} +#endif /* BUILD_ECORE_CON */ -- 1.6.4.3 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel