From 77cc51bf727090aab0e91a9e30cd642497f9f18b Mon Sep 17 00:00:00 2001 From: pp Date: Wed, 12 Mar 2008 15:28:21 +0000 Subject: - configuration directory on WIN32 is "lingot" instead of ".lingot" - store configuration directory in APPDATA on WIN32 - mkdir() on WIN32 takes only 1 argument - get translations from "share/locale" on WIN32, which is consistent with GTK, and makes distributing easier (does not require installation) git-svn-id: https://lampka.siedziba.pl:790/svn/repos/lingot-win32@294 455248ca-bdda-0310-9134-f4ebb693071a --- src/lingot-defs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lingot-defs.h') diff --git a/src/lingot-defs.h b/src/lingot-defs.h index 388c1f6..36ffafa 100644 --- a/src/lingot-defs.h +++ b/src/lingot-defs.h @@ -32,7 +32,12 @@ #define SAMPLE_TYPE int16_t +#ifdef __WIN32__ +#define CONFIG_DIR_NAME "lingot/" +#else #define CONFIG_DIR_NAME ".lingot/" +#endif + #define DEFAULT_CONFIG_FILE_NAME "lingot.conf" extern char CONFIG_FILE_NAME[]; -- cgit v1.2.3