summaryrefslogtreecommitdiffstats
path: root/include/package/packagedllapi.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/package/packagedllapi.hxx')
-rw-r--r--include/package/packagedllapi.hxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/package/packagedllapi.hxx b/include/package/packagedllapi.hxx
new file mode 100644
index 000000000..71b5c82aa
--- /dev/null
+++ b/include/package/packagedllapi.hxx
@@ -0,0 +1,22 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+#ifndef INCLUDED_PACKAGE_PACKAGEDLLAPI_HXX
+#define INCLUDED_PACKAGE_PACKAGEDLLAPI_HXX
+
+#include <sal/types.h>
+
+#if defined(DLLIMPLEMENTATION_PACKAGE)
+#define DLLPUBLIC_PACKAGE SAL_DLLPUBLIC_EXPORT
+#else
+#define DLLPUBLIC_PACKAGE SAL_DLLPUBLIC_IMPORT
+#endif
+
+#endif // INCLUDED_PACKAGE_PACKAGEDLLAPI_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */