summaryrefslogtreecommitdiffstats
path: root/src/zix/common.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-09 03:53:13 +0000
committerDavid Robillard <d@drobilla.net>2012-08-09 03:53:13 +0000
commite8f41104c807804d2a8ca6fc14b0e826e70b248b (patch)
treefd3e9a7a7c55d722c37677d38ed1d79685ea7904 /src/zix/common.h
parent1ac0d686b1a540f3ffe5a948f07f53b9a9cdbe5b (diff)
downloadlilv-e8f41104c807804d2a8ca6fc14b0e826e70b248b.tar.gz
lilv-e8f41104c807804d2a8ca6fc14b0e826e70b248b.tar.bz2
lilv-e8f41104c807804d2a8ca6fc14b0e826e70b248b.zip
Update zix. Fix --static-progs.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4636 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/zix/common.h')
-rw-r--r--src/zix/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/zix/common.h b/src/zix/common.h
index ab7e431..f126cd1 100644
--- a/src/zix/common.h
+++ b/src/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 */
@@ -53,6 +58,8 @@ typedef enum {
ZIX_STATUS_NO_MEM,
ZIX_STATUS_NOT_FOUND,
ZIX_STATUS_EXISTS,
+ ZIX_STATUS_BAD_ARG,
+ ZIX_STATUS_BAD_PERMS,
} ZixStatus;
/**