From b5e1f4854a199709aee9edc9f25a69a424d0a127 Mon Sep 17 00:00:00 2001 From: hiro Date: Sun, 7 Aug 2005 13:37:25 +0000 Subject: defs.h: modification for Win32. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@475 ee746299-78ed-0310-b773-934348b2243d --- src/defs.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'src/defs.h') 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 + +#ifdef G_OS_WIN32 +# include +#endif + #if HAVE_PATHS_H # include #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" */ -- cgit v1.2.3