From 058a17f6a6c2487fd674511d5409497a03e83758 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 19 Jul 2017 00:52:37 +0200 Subject: Fix amalgamated build. --- upb/decode.c | 2 ++ upb/encode.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'upb') diff --git a/upb/decode.c b/upb/decode.c index 8c3ecb4..3f0b6d1 100644 --- a/upb/decode.c +++ b/upb/decode.c @@ -578,3 +578,5 @@ bool upb_decode(upb_stringview buf, void *msg, return upb_decode_message(&state, buf.data + buf.size, 0, msg, l); } + +#undef CHK diff --git a/upb/encode.c b/upb/encode.c index cb72bf9..d41b0ed 100644 --- a/upb/encode.c +++ b/upb/encode.c @@ -390,3 +390,5 @@ char *upb_encode(const void *msg, const upb_msglayout_msginit_v1 *m, return e.ptr; } } + +#undef CHK -- cgit v1.2.3