summaryrefslogtreecommitdiff
path: root/upb/generated_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/generated_util.h')
-rw-r--r--upb/generated_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/upb/generated_util.h b/upb/generated_util.h
index 0d5e6ba..314a6d5 100644
--- a/upb/generated_util.h
+++ b/upb/generated_util.h
@@ -9,6 +9,8 @@
#include <stdint.h>
#include "upb/msg.h"
+#include "upb/port_def.inc"
+
#define PTR_AT(msg, ofs, type) (type*)((const char*)msg + ofs)
UPB_INLINE const void *_upb_array_accessor(const void *msg, size_t ofs,
@@ -98,4 +100,6 @@ UPB_INLINE bool _upb_has_oneof_field(const void *msg, size_t case_ofs, int32_t n
#undef PTR_AT
+#include "upb/port_undef.inc"
+
#endif /* UPB_GENERATED_UTIL_H_ */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback