mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 02:56:35 +01:00
Implement proper config directories.
This commit is contained in:
@@ -23,5 +23,11 @@
|
||||
#else
|
||||
#define CONFIGDIR "/toxic/"
|
||||
#endif
|
||||
|
||||
#ifndef S_ISDIR
|
||||
#define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
||||
#endif
|
||||
|
||||
char *get_user_config_dir(void);
|
||||
char *get_user_config_dir(void);
|
||||
|
||||
int create_user_config_dir(char *path);
|
||||
Reference in New Issue
Block a user