aboutsummaryrefslogtreecommitdiff
path: root/src/mbox.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-05 10:49:56 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-05 10:49:56 +0000
commit2e92fc601e3fe864617064bd081d7f23c298669d (patch)
tree90b2008ec5050c83d28e80acdc3eec521e206a53 /src/mbox.c
parent12cb734c3c7ccdec2a7c9f7fc7517aa37d4fd385 (diff)
MinGW fix.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@472 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mbox.c')
-rw-r--r--src/mbox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbox.c b/src/mbox.c
index 05efa69f..6742069a 100644
--- a/src/mbox.c
+++ b/src/mbox.c
@@ -257,6 +257,7 @@ gint proc_mbox(FolderItem *dest, const gchar *mbox, GHashTable *folder_table)
gint lock_mbox(const gchar *base, LockType type)
{
+#ifdef G_OS_UNIX
gint retval = 0;
if (type == LOCK_FILE) {
@@ -327,6 +328,9 @@ gint lock_mbox(const gchar *base, LockType type)
}
return retval;
+#else
+ return -1;
+#endif /* G_OS_UNIX */
}
gint unlock_mbox(const gchar *base, gint fd, LockType type)