Unverified Commit 708d9336 by Edward Thomson Committed by GitHub

Merge pull request #5953 from boretrk/c99-inline

common.h: use inline when compiling for C99 and later
parents 003a1df6 88a3b8e1
......@@ -19,6 +19,8 @@
# define GIT_INLINE(type) static __inline type
#elif defined(__GNUC__)
# define GIT_INLINE(type) static __inline__ type
#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
# define GIT_INLINE(type) static inline type
#else
# define GIT_INLINE(type) static type
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment