diff options
| author | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2008-03-12 15:28:21 +0000 |
|---|---|---|
| committer | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2008-03-12 15:28:21 +0000 |
| commit | 77cc51bf727090aab0e91a9e30cd642497f9f18b (patch) | |
| tree | 7f73691e8532405d648db1510e46a8659c3deaff /src/lingot-defs.h | |
| parent | 531177f116b52f080ad93716baf86091cc73024c (diff) | |
- 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
Diffstat (limited to 'src/lingot-defs.h')
| -rw-r--r-- | src/lingot-defs.h | 5 |
1 files changed, 5 insertions, 0 deletions
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[]; |
