aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/mail-tools.c9
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 8628b2deea..8082346153 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -10,6 +10,8 @@
* em-format-html-display.c: Define localtime_r() for Win32 using
localtime() (which is thread-safe in Microsoft's C library).
+ * mail-tools.c (mail_tool_do_movemail): Not implemented on Win32.
+
2005-09-28 Parthasarathi Susarla <sparthasarathi@novell.com>
See bug ** 317329
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 *