summaryrefslogtreecommitdiffstats
path: root/include/qpdf/DLL.h
diff options
context:
space:
mode:
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__ */