define ecore_file_dowbload_abort when ecore_con is not available
authorVincent Torri <vincent.torri@gmail.com>
Mon, 23 Nov 2009 09:05:02 +0000 (09:05 +0000)
committerVincent Torri <vincent.torri@gmail.com>
Mon, 23 Nov 2009 09:05:02 +0000 (09:05 +0000)
(that is : it does nothing :)

SVN revision: 43916

legacy/ecore/src/lib/ecore_file/ecore_file_download.c

index ef94874..3d02688 100644 (file)
@@ -286,10 +286,12 @@ _ecore_file_download_curl(const char *url, const char *dst,
    return job;
 }
 # endif
+#endif
 
 EAPI void
 ecore_file_download_abort(Ecore_File_Download_Job *job)
 {
+#ifdef BUILD_ECORE_CON
 # ifdef HAVE_CURL
    ecore_con_url_destroy(job->url_con);
 # endif
@@ -297,5 +299,5 @@ ecore_file_download_abort(Ecore_File_Download_Job *job)
    fclose(job->file);
    free(job->dst);
    free(job);
-}
 #endif /* BUILD_ECORE_CON */
+}