diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-05 10:49:56 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-05 10:49:56 +0000 |
commit | 2e92fc601e3fe864617064bd081d7f23c298669d (patch) | |
tree | 90b2008ec5050c83d28e80acdc3eec521e206a53 /src/mbox.c | |
parent | 12cb734c3c7ccdec2a7c9f7fc7517aa37d4fd385 (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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |