Skip to content

Commit

Permalink
Add missing ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed May 21, 2016
1 parent df51d83 commit 2d08127
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/output.c
Expand Up @@ -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)
Expand Down Expand Up @@ -2377,6 +2378,7 @@ grn_output_envelope_msgpack(grn_ctx *ctx,
}
}
}
#endif /* GRN_WITH_MESSAGE_PACK */

void
grn_output_envelope(grn_ctx *ctx,
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2d08127

Please sign in to comment.