summaryrefslogtreecommitdiff
path: root/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-03 11:50:13 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-03 11:50:13 -0700
commitaecbfe42243ccd06425f021df6fe8d8d65974db7 (patch)
treece93d0c7d342895b1603693309ec44b8fe7d80a8 /upb.h
parent62be5969a14b36e4f3ca336ec57c4627f541a69c (diff)
Moved upb_enum to a proper C file, updated upb_inlinedefs.
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