summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ideviceinstaller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index 54bd318..7682536 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -68,7 +68,7 @@ int op_completed = 0;
int err_occured = 0;
int notified = 0;
-#ifdef HAVE_LIBIMOBILEDEVICE_1_0
+#ifdef HAVE_LIBIMOBILEDEVICE_1_1
static void notifier(const char *notification, void *unused)
#else
static void notifier(const char *notification)
@@ -419,7 +419,7 @@ int main(int argc, char **argv)
goto leave_cleanup;
}
-#ifdef HAVE_LIBIMOBILEDEVICE_1_0
+#ifdef HAVE_LIBIMOBILEDEVICE_1_1
np_set_notify_callback(np, notifier, NULL);
#else
np_set_notify_callback(np, notifier);