aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-09-28 18:43:53 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-09-28 18:43:53 +0800
commit5fb5dab62e2929a0be7f58e5c659e9692a1b7ee1 (patch)
tree7c444fc54728c11891ba821e3f402c7c8dd17687 /mail/mail-tools.c
parent7670176dd23a4aee7875ea6c20f480d5f3c5a4e4 (diff)
downloadgsoc2013-evolution-5fb5dab62e2929a0be7f58e5c659e9692a1b7ee1.tar.gz
gsoc2013-evolution-5fb5dab62e2929a0be7f58e5c659e9692a1b7ee1.tar.zst
gsoc2013-evolution-5fb5dab62e2929a0be7f58e5c659e9692a1b7ee1.zip
Not implemented on Win32.
2005-09-28 Tor Lillqvist <tml@novell.com> * mail-tools.c (mail_tool_do_movemail): Not implemented on Win32. svn path=/trunk/; revision=30399
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r--mail/mail-tools.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c
index 3a6eb1b109..245bc173cf 100644
--- a/mail/mail-tools.c
+++ b/mail/mail-tools.c
@@ -29,7 +29,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <pthread.h>
#include <ctype.h>
#include <errno.h>
#include <string.h>
@@ -129,6 +128,7 @@ mail_tool_get_local_movemail_path (const unsigned char *uri, CamelException *ex)
char *
mail_tool_do_movemail (const char *source_url, CamelException *ex)
{
+#ifndef G_OS_WIN32
char *dest_path;
struct stat sb;
CamelURL *uri;
@@ -167,6 +167,13 @@ mail_tool_do_movemail (const char *source_url, CamelException *ex)
}
return dest_path;
+#else
+ /* Unclear yet whether camel-movemail etc makes any sense on
+ * Win32, at least it is not ported yet.
+ */
+ g_warning("%s: Not implemented", __FUNCTION__);
+ return NULL;
+#endif
}
char *