summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2019-07-24 11:01:10 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2019-11-19 05:49:35 +0800
commitb7eea54028a10a32bb269fb16f1c169defd6a3ea (patch)
tree58e40cd732ae83e5351ed7bf27c22ac8a00b1ebd
parent06a3f6e60b7cc0c2c76053b95b98abe3189573c2 (diff)
downloadpixman-b7eea54028a10a32bb269fb16f1c169defd6a3ea.tar.gz
pixman/pixman-version.h.in: Add a PIXMAN_API macro
This prepares to mark the public APIs that we have in pixman.h so that we can use compiler directives such as __declspec(dllexport) to export those symbols.
-rw-r--r--pixman/pixman-version.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/pixman/pixman-version.h.in b/pixman/pixman-version.h.in
index 256b2e6..64778a5 100644
--- a/pixman/pixman-version.h.in
+++ b/pixman/pixman-version.h.in
@@ -47,4 +47,8 @@
PIXMAN_VERSION_MINOR, \
PIXMAN_VERSION_MICRO)
+#ifndef PIXMAN_API
+# define PIXMAN_API
+#endif
+
#endif /* PIXMAN_VERSION_H__ */