From 5fb5dab62e2929a0be7f58e5c659e9692a1b7ee1 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 28 Sep 2005 10:43:53 +0000 Subject: Not implemented on Win32. 2005-09-28 Tor Lillqvist * mail-tools.c (mail_tool_do_movemail): Not implemented on Win32. svn path=/trunk/; revision=30399 --- mail/ChangeLog | 2 ++ mail/mail-tools.c | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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 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 #include #include -#include #include #include #include @@ -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 * -- cgit v1.2.3