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 @@
#define USERPREF_CONFIG_EXTENSION ".plist"
-#ifndef __APPLE__
-#define USERPREF_CONFIG_DIR "libimobiledevice"
-#else
#ifdef WIN32
#define USERPREF_CONFIG_DIR "Apple"DIR_SEP_S"Lockdown"
#else
#define USERPREF_CONFIG_DIR "lockdown"
#endif
-#endif
+
#define USERPREF_CONFIG_FILE "SystemConfiguration"USERPREF_CONFIG_EXTENSION
static char *__config_dir = NULL;