summaryrefslogtreecommitdiffstats
path: root/include/cppu/cppudllapi.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/cppu/cppudllapi.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/cppu/cppudllapi.h b/include/cppu/cppudllapi.h
new file mode 100644
index 0000000000..121b6defc6
--- /dev/null
+++ b/include/cppu/cppudllapi.h
@@ -0,0 +1,24 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of LibreOffice published API.
+ */
+#ifndef INCLUDED_CPPU_CPPUDLLAPI_H
+#define INCLUDED_CPPU_CPPUDLLAPI_H
+
+#include "sal/types.h"
+
+#if defined(CPPU_DLLIMPLEMENTATION)
+#define CPPU_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
+#else
+#define CPPU_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
+#endif
+
+#if defined(PURPENV_DLLIMPLEMENTATION)
+#define PURPENV_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
+#else
+#define PURPENV_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
+#endif
+
+#endif // INCLUDED_CPPU_CPPUDLLAPI_H
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */