summaryrefslogtreecommitdiff
path: root/upb.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb.h')
-rw-r--r--upb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/upb.h b/upb.h
index d62fba6..d76ba75 100644
--- a/upb.h
+++ b/upb.h
@@ -26,7 +26,9 @@ extern "C" {
#endif
/* inline if possible, emit standalone code if required. */
+#ifndef INLINE
#define INLINE static inline
+#endif
/* The maximum that any submessages can be nested. Matches proto2's limit. */
#define UPB_MAX_NESTING 64
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback