Navigation Menu

Skip to content

Commit

Permalink
Define mruby related variable only when mruby enabled build
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 17, 2015
1 parent 25d3c6e commit 2705c76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/plugin.c
Expand Up @@ -34,7 +34,9 @@
static grn_hash *grn_plugins = NULL;
static grn_critical_section grn_plugins_lock;

#ifdef GRN_WITH_MRUBY
static const char *grn_plugin_mrb_suffix = ".rb";
#endif /* GRN_WITH_MRUBY */

#ifdef HAVE_DLFCN_H
# include <dlfcn.h>
Expand Down

0 comments on commit 2705c76

Please sign in to comment.