From aecbfe42243ccd06425f021df6fe8d8d65974db7 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 3 Jul 2009 11:50:13 -0700 Subject: Moved upb_enum to a proper C file, updated upb_inlinedefs. --- upb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'upb.h') 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 -- cgit v1.2.3