summaryrefslogtreecommitdiff
path: root/plugin/Main.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/Main.c')
-rw-r--r--plugin/Main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugin/Main.c b/plugin/Main.c
index 834300e..1810b43 100644
--- a/plugin/Main.c
+++ b/plugin/Main.c
@@ -137,7 +137,13 @@ NPP_GetMIMEDescription(void)
}
NPError
-NPP_GetValue(void *future, NPPVariable variable, void *value)
+NPP_GetValue(
+#if NP_VERSION_MINOR < 12
+ void *future,
+#else
+ NPP instance,
+#endif
+ NPPVariable variable, void *value)
{
NPError err = NPERR_NO_ERROR;