Allow overriding the user config dir name at compile time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2102 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
4e80bf9d0c
commit
9b65c8c398
|
@ -36,7 +36,9 @@
|
|||
#define YSERV_INS 2
|
||||
#define YSERV_DEL 4
|
||||
#define PATH_SEP "\\"
|
||||
#ifndef CFG_DIR
|
||||
#define CFG_DIR "Yate"
|
||||
#endif
|
||||
|
||||
#ifndef SHGetSpecialFolderPath
|
||||
__declspec(dllimport) BOOL WINAPI SHGetSpecialFolderPathA(HWND,LPSTR,INT,BOOL);
|
||||
|
@ -51,7 +53,9 @@ __declspec(dllimport) BOOL WINAPI SHGetSpecialFolderPathA(HWND,LPSTR,INT,BOOL);
|
|||
#include <sys/resource.h>
|
||||
typedef void* HMODULE;
|
||||
#define PATH_SEP "/"
|
||||
#ifndef CFG_DIR
|
||||
#define CFG_DIR ".yate"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue