summaryrefslogtreecommitdiff
path: root/tests/json
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-03-27 15:32:05 -0700
committerGitHub <noreply@github.com>2019-03-27 15:32:05 -0700
commitcf35baa1ad70f0dca734f93bcc2b54d8d059bcdd (patch)
tree3c9881fcceaba1dbb5f04fe01ddc5f2dc5c647d1 /tests/json
parent928ef7f2c02f18d9945dd750884dffbdebef1b98 (diff)
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.
Diffstat (limited to 'tests/json')
-rw-r--r--tests/json/test_json.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/json/test_json.cc b/tests/json/test_json.cc
index 3dc4a6c..3fddfb6 100644
--- a/tests/json/test_json.cc
+++ b/tests/json/test_json.cc
@@ -13,6 +13,8 @@
#include <string>
+#include "upb/port_def.inc"
+
// Macros for readability in test case list: allows us to give TEST("...") /
// EXPECT("...") pairs.
#define TEST(x) x
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback