aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2006-02-18 05:11:29 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2006-02-18 05:11:29 +0000
commit871381514f95a02a4d45cdfa62ab6d790158092a (patch)
tree0ca3d400eff199e2adf046a655e4255e473554e3 /plugins
parentd9462b4a45b3eb5a171653911adc4942a28e2b6a (diff)
Add dual version
svn path=/trunk/; revision=17347
Diffstat (limited to 'plugins')
-rw-r--r--plugins/lua/plugin.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/lua/plugin.c b/plugins/lua/plugin.c
index e08b60205f..b9b7caee2e 100644
--- a/plugins/lua/plugin.c
+++ b/plugins/lua/plugin.c
@@ -36,14 +36,22 @@
#endif
/* Name of package */
+#ifdef HAVE_LUA_5_1
+#define PACKAGE "lua_plugin_5.1"
+#else
#define PACKAGE "lua_plugin_5.0.2"
+#endif
#ifdef VERSION
#undef VERSION
#endif
/* Version number of package */
-#define VERSION "0.0"
+#ifdef HAVE_LUA_5_1
+#define VERSION "510.0.1"
+#else
+#define VERSION "502.0.1"
+#endif
#include <gmodule.h>