summaryrefslogtreecommitdiff
blob: 3df6100fcb0be0b869816bdeace59b1147f8a49d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/plugin.c.dist   2003-06-04 19:13:41.000000000 -0700
+++ src/plugin.c        2007-09-20 15:51:22.000000000 -0700
@@ -268,7 +268,11 @@
     creator[4] = '\0';
     jp_logf(JP_LOG_GUI, "(Creator ID is '%s')...", creator);

+#if PILOT_LINK_MAJOR >= 12
+    rval = pi_file_install (f, sd, 0, NULL);
+#else
     rval = pi_file_install (f, sd, 0);
+#endif

     if (rval < 0) {
         g_snprintf (log_entry, 255, "Install %s failed", pc);