Z / libzen 0.0.0
Header-only C99 library
Loading...
Searching...
No Matches
inline.h
Go to the documentation of this file.
1#ifndef ZEN_DETAIL_INLINE_H
2#define ZEN_DETAIL_INLINE_H
3
4/* MSVC's C mode does not implement C99 inline semantics; __inline is its
5 equivalent. Every public header uses this single internal definition. */
6#if defined(_MSC_VER) && !defined(__clang__)
7#define ZEN_STATIC_INLINE static __inline
8#else
9#define ZEN_STATIC_INLINE static inline
10#endif
11
12#endif /* ZEN_DETAIL_INLINE_H */