[evolution-data-server] Disable some bits on win32 This makes e-d-s at least buildable waiting for a proper fix



commit 4e9defba33ddd324eeb4ebf32d08b9de4333506d
Author: Fridrich Strba <fridrich strba bluewin ch>
Date:   Fri Mar 5 09:04:13 2010 +0100

    Disable some bits on win32
    This makes e-d-s at least buildable waiting for a proper fix

 camel/providers/imapx/camel-imapx-server.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]