aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/DLL.h
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-10-19 22:17:14 +0200
committerJay Berkenbilt <ejb@ql.org>2009-10-19 22:17:14 +0200
commitb67a3c15e768ed88ea3cdf7525c1ddc649aec2fe (patch)
tree91b6f93a22e394f54dac6a0f7e2e03e582ac3a88 /include/qpdf/DLL.h
parent734ac1e1d2b3ce10a2da1a7e736a30bdf0bc5cf8 (diff)
downloadqpdf-b67a3c15e768ed88ea3cdf7525c1ddc649aec2fe.tar.zst
DLL.hh -> DLL.h, move public enumerated types into Constants.h and use them both for C and C++ interfaces
git-svn-id: svn+q:///qpdf/trunk@828 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'include/qpdf/DLL.h')
-rw-r--r--include/qpdf/DLL.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/qpdf/DLL.h b/include/qpdf/DLL.h
new file mode 100644
index 00000000..b0c465a3
--- /dev/null
+++ b/include/qpdf/DLL.h
@@ -0,0 +1,10 @@
+#ifndef __QPDF_DLL_HH__
+#define __QPDF_DLL_HH__
+
+#ifdef _WIN32
+# define DLL_EXPORT __declspec(dllexport)
+#else
+# define DLL_EXPORT
+#endif
+
+#endif /* __QPDF_DLL_HH__ */