summaryrefslogtreecommitdiff
path: root/ui/gtk/plugins_dlg.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-06-25 20:42:07 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-06-25 20:42:07 +0000
commite6e6d6217ba78d0936898815b87a514acca2e449 (patch)
treec5fb9e41f81d4e9501978141712babc952e62083 /ui/gtk/plugins_dlg.c
parent8eeebf73e0743192e9c395ea240f41dd08ab0670 (diff)
downloadwireshark-e6e6d6217ba78d0936898815b87a514acca2e449.tar.gz
From Tony Trinh:
Update Lua from 5.1 to 5.2 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7400 svn path=/trunk/; revision=43482
Diffstat (limited to 'ui/gtk/plugins_dlg.c')
-rw-r--r--ui/gtk/plugins_dlg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gtk/plugins_dlg.c b/ui/gtk/plugins_dlg.c
index 543cc5f5b9..c6f0c4e468 100644
--- a/ui/gtk/plugins_dlg.c
+++ b/ui/gtk/plugins_dlg.c
@@ -35,7 +35,7 @@
#include "ui/gtk/plugins_dlg.h"
-#if defined(HAVE_PLUGINS) || defined(HAVE_LUA_5_1)
+#if defined(HAVE_PLUGINS) || defined(HAVE_LUA)
/*
* Fill the list widget with a list of the plugin modules.
@@ -48,7 +48,7 @@ plugins_scan(GtkWidget *list)
plugin *pt_plug;
const char *sep;
#endif
-#ifdef HAVE_LUA_5_1
+#ifdef HAVE_LUA
wslua_plugin *lua_plug;
#endif
GString *type;
@@ -86,7 +86,7 @@ plugins_scan(GtkWidget *list)
}
#endif
-#ifdef HAVE_LUA_5_1
+#ifdef HAVE_LUA
for (lua_plug = wslua_plugin_list; lua_plug != NULL; lua_plug = lua_plug->next)
{
type = g_string_new("");
@@ -119,4 +119,4 @@ about_plugins_page_new(void)
return scrolledwindow;
}
-#endif /* HAVE_PLUGINS || HAVE_LUA_5_1 */
+#endif /* HAVE_PLUGINS || HAVE_LUA */