[Groonga-commit] groonga/groonga at 2705c76 [master] Define mruby related variable only when mruby enabled build

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Jan 17 15:02:05 JST 2015


Kouhei Sutou	2015-01-17 15:02:05 +0900 (Sat, 17 Jan 2015)

  New Revision: 2705c76d599b7935432645ebab444e9664e10131
  https://github.com/groonga/groonga/commit/2705c76d599b7935432645ebab444e9664e10131

  Message:
    Define mruby related variable only when mruby enabled build

  Modified files:
    lib/plugin.c

  Modified: lib/plugin.c (+2 -0)
===================================================================
--- lib/plugin.c    2015-01-17 14:59:39 +0900 (816161c)
+++ lib/plugin.c    2015-01-17 15:02:05 +0900 (86a1c14)
@@ -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>
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index