diff options
Diffstat (limited to 'testing/toxic/configdir.h')
-rw-r--r-- | testing/toxic/configdir.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/toxic/configdir.h b/testing/toxic/configdir.h index 441ffdab..d9837d77 100644 --- a/testing/toxic/configdir.h +++ b/testing/toxic/configdir.h | |||
@@ -23,5 +23,11 @@ | |||
23 | #else | 23 | #else |
24 | #define CONFIGDIR "/toxic/" | 24 | #define CONFIGDIR "/toxic/" |
25 | #endif | 25 | #endif |
26 | |||
27 | #ifndef S_ISDIR | ||
28 | #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) | ||
29 | #endif | ||
30 | |||
31 | char *get_user_config_dir(void); | ||
26 | 32 | ||
27 | char *get_user_config_dir(void); \ No newline at end of file | 33 | int create_user_config_dir(char *path); \ No newline at end of file |