summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/userpref.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/userpref.c b/common/userpref.c
index 3fc4adc..5250978 100644
--- a/common/userpref.c
+++ b/common/userpref.c
@@ -69,15 +69,12 @@
69 69
70#define USERPREF_CONFIG_EXTENSION ".plist" 70#define USERPREF_CONFIG_EXTENSION ".plist"
71 71
72#ifndef __APPLE__
73#define USERPREF_CONFIG_DIR "libimobiledevice"
74#else
75#ifdef WIN32 72#ifdef WIN32
76#define USERPREF_CONFIG_DIR "Apple"DIR_SEP_S"Lockdown" 73#define USERPREF_CONFIG_DIR "Apple"DIR_SEP_S"Lockdown"
77#else 74#else
78#define USERPREF_CONFIG_DIR "lockdown" 75#define USERPREF_CONFIG_DIR "lockdown"
79#endif 76#endif
80#endif 77
81#define USERPREF_CONFIG_FILE "SystemConfiguration"USERPREF_CONFIG_EXTENSION 78#define USERPREF_CONFIG_FILE "SystemConfiguration"USERPREF_CONFIG_EXTENSION
82 79
83static char *__config_dir = NULL; 80static char *__config_dir = NULL;