summaryrefslogtreecommitdiff
path: root/basegfx/inc/basegfx/basegfxdllapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/inc/basegfx/basegfxdllapi.h')
-rw-r--r--basegfx/inc/basegfx/basegfxdllapi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/basegfx/inc/basegfx/basegfxdllapi.h b/basegfx/inc/basegfx/basegfxdllapi.h
index 2088ea293e92..791343cfc5a5 100644
--- a/basegfx/inc/basegfx/basegfxdllapi.h
+++ b/basegfx/inc/basegfx/basegfxdllapi.h
@@ -27,6 +27,12 @@
#ifndef INCLUDED_BASEGFXDLLAPI_H
#define INCLUDED_BASEGFXDLLAPI_H
+#if defined BASEGFX_STATICLIBRARY
+#define BASEGFX_DLLPUBLIC
+#define BASEGFX_DLLPRIVATE
+
+#else
+
#if defined BASEGFX_DLLIMPLEMENTATION
#define BASEGFX_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
@@ -35,3 +41,5 @@
#define BASEGFX_DLLPRIVATE SAL_DLLPRIVATE
#endif
+
+#endif \ No newline at end of file