aboutsummaryrefslogtreecommitdiff
path: root/src/defs.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-07 13:37:25 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-07 13:37:25 +0000
commitb5e1f4854a199709aee9edc9f25a69a424d0a127 (patch)
tree257b7301a4f47cbc4618cec5a2b30913dffb3469 /src/defs.h
parent9689e0699f2dc4074fcae3009a67afe3c4e260c0 (diff)
defs.h: modification for Win32.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@475 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/defs.h b/src/defs.h
index fa705ded..01e24e6d 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -24,6 +24,12 @@
# include "config.h"
#endif
+#include <glibconfig.h>
+
+#ifdef G_OS_WIN32
+# include <glib/gwin32.h>
+#endif
+
#if HAVE_PATHS_H
# include <paths.h>
#endif
@@ -37,7 +43,11 @@
#define QUEUE_DIR "queue"
#define DRAFT_DIR "draft"
#define TRASH_DIR "trash"
-#define RC_DIR ".sylpheed-2.0"
+#ifdef G_OS_WIN32
+# define RC_DIR "sylpheed-2.0"
+#else
+# define RC_DIR ".sylpheed-2.0"
+#endif
#define OLD_RC_DIR ".sylpheed"
#define NEWS_CACHE_DIR "newscache"
#define IMAP_CACHE_DIR "imapcache"
@@ -66,7 +76,11 @@
#define CACHE_VERSION 0x21
#define MARK_VERSION 2
-#define DEFAULT_SIGNATURE ".signature"
+#ifdef G_OS_WIN32
+# define DEFAULT_SIGNATURE "signature.txt"
+#else
+# define DEFAULT_SIGNATURE ".signature"
+#endif
#define DEFAULT_INC_PATH "/usr/bin/mh/inc"
#define DEFAULT_INC_PROGRAM "inc"
/* #define DEFAULT_INC_PATH "/usr/bin/imget" */