summaryrefslogtreecommitdiffstats
path: root/zix/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'zix/common.h')
-rw-r--r--zix/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zix/common.h b/zix/common.h
index 59e1f55..f126cd1 100644
--- a/zix/common.h
+++ b/zix/common.h
@@ -36,8 +36,13 @@
# else
# define ZIX_API ZIX_LIB_IMPORT
# endif
+# define ZIX_PRIVATE static
+#elif defined(ZIX_INLINE)
+# define ZIX_API static inline
+# define ZIX_PRIVATE static inline
#else
# define ZIX_API
+# define ZIX_PRIVATE static
#endif
/** @endcond */