[Groonga-commit] groonga/groonga at 2d08127 [master] Add missing ifdef

Back to archive index

Kouhei Sutou null+****@clear*****
Sat May 21 15:40:46 JST 2016


Kouhei Sutou	2016-05-21 15:40:46 +0900 (Sat, 21 May 2016)

  New Revision: 2d08127ee693a5b9444b5ce4de5b36770bbcd284
  https://github.com/groonga/groonga/commit/2d08127ee693a5b9444b5ce4de5b36770bbcd284

  Message:
    Add missing ifdef

  Modified files:
    lib/output.c

  Modified: lib/output.c (+3 -1)
===================================================================
--- lib/output.c    2016-05-21 15:39:03 +0900 (4a9542b)
+++ lib/output.c    2016-05-21 15:40:46 +0900 (20266cd)
@@ -2140,6 +2140,7 @@ grn_output_envelope_json(grn_ctx *ctx,
   }
 }
 
+#ifdef GRN_WITH_MESSAGE_PACK
 static void
 msgpack_pack_cstr(msgpack_packer *packer,
                   const char *string)
@@ -2377,6 +2378,7 @@ grn_output_envelope_msgpack(grn_ctx    *ctx,
     }
   }
 }
+#endif /* GRN_WITH_MESSAGE_PACK */
 
 void
 grn_output_envelope(grn_ctx *ctx,
@@ -2510,7 +2512,7 @@ grn_output_envelope(grn_ctx *ctx,
                                   started, elapsed,
                                   file, line);
     }
-#endif
+#endif /* GRN_WITH_MESSAGE_PACK */
     break;
   case GRN_CONTENT_GROONGA_COMMAND_LIST :
     break;
-------------- next part --------------
HTML����������������������������...
Download 



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