From cf35baa1ad70f0dca734f93bcc2b54d8d059bcdd Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 27 Mar 2019 15:32:05 -0700 Subject: Moved macros from upb.h to port_def.inc to avoid leaking them to users. (#160) * Use port_def.inc to prevent macros from leaking to users. * Added helpful comments to port_def.inc/port_undef.inc. --- upb/json/printer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'upb/json/printer.c') diff --git a/upb/json/printer.c b/upb/json/printer.c index 72f26b2..37482a8 100644 --- a/upb/json/printer.c +++ b/upb/json/printer.c @@ -10,6 +10,8 @@ #include #include +#include "upb/port_def.inc" + struct upb_json_printer { upb_sink input_; /* BytesSink closure. */ -- cgit v1.2.3