From: Fridrich Strba Date: Fri, 5 Mar 2010 08:04:13 +0000 (+0100) Subject: Disable some bits on win32 X-Git-Tag: upstream/3.7.4~3306 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e9defba33ddd324eeb4ebf32d08b9de4333506d;p=platform%2Fupstream%2Fevolution-data-server.git Disable some bits on win32 This makes e-d-s at least buildable waiting for a proper fix --- diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c index f3f06b2..577af9a 100644 --- a/camel/providers/imapx/camel-imapx-server.c +++ b/camel/providers/imapx/camel-imapx-server.c @@ -2348,6 +2348,7 @@ imapx_command_fetch_message_done(CamelIMAPXServer *is, CamelIMAPXCommand *ic) else camel_exception_xfer (job->ex, ic->ex); } else { +#ifndef G_OS_WIN32 CamelIMAPXFolder *ifolder = (CamelIMAPXFolder *) job->folder; if (stream) { @@ -2370,6 +2371,7 @@ imapx_command_fetch_message_done(CamelIMAPXServer *is, CamelIMAPXCommand *ic) camel_data_cache_remove (ifolder->cache, "tmp", job->u.get_message.uid, NULL); g_free (tmp); } +#endif /* G_OS_WIN32 */ } if (stream) @@ -2531,7 +2533,9 @@ imapx_command_append_message_done (CamelIMAPXServer *is, CamelIMAPXCommand *ic) mi->uid = camel_pstring_add (uid, TRUE); cur = camel_data_cache_get_filename (ifolder->cache, "cur", mi->uid, NULL); +#ifndef G_OS_WIN32 link (job->u.append_message.path, cur); +#endif /* G_OS_WIN32 */ /* should we update the message count ? */ camel_folder_summary_add (job->folder->summary, mi);