diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-07 13:37:25 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-07 13:37:25 +0000 |
commit | b5e1f4854a199709aee9edc9f25a69a424d0a127 (patch) | |
tree | 257b7301a4f47cbc4618cec5a2b30913dffb3469 /src/defs.h | |
parent | 9689e0699f2dc4074fcae3009a67afe3c4e260c0 (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.h | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -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" */ |