[Libreoffice-commits] .: Branch 'feature/gnumake4' - sw/inc sw/Library_swd.mk

Bjoern Michaelsen bmichaelsen at kemper.freedesktop.org
Sat Jun 18 05:14:33 PDT 2011


 sw/Library_swd.mk  |    2 ++
 sw/inc/swddllapi.h |   13 +++++++++++++
 2 files changed, 15 insertions(+)

New commits:
commit fd36896cb2e50263663903e27aa735ac4e2c47f2
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date:   Sat Jun 18 14:12:17 2011 +0200

    fixing rebase errors

diff --git a/sw/Library_swd.mk b/sw/Library_swd.mk
index 32bcc48..1979b04 100644
--- a/sw/Library_swd.mk
+++ b/sw/Library_swd.mk
@@ -43,6 +43,8 @@ $(eval $(call gb_Library_set_include,swd,\
 
 $(eval $(call gb_Library_add_defs,swd,\
 	-DSWD_DLLIMPLEMENTATION \
+))
+
 $(eval $(call gb_Library_add_linked_libs,swd,\
     comphelper \
     cppu \
diff --git a/sw/inc/swddllapi.h b/sw/inc/swddllapi.h
new file mode 100644
index 0000000..07b0b38
--- /dev/null
+++ b/sw/inc/swddllapi.h
@@ -0,0 +1,13 @@
+#ifndef INCLUDED_SWDDLLAPI_H
+#define INCLUDED_SWDDLLAPI_H
+
+#include "sal/types.h"
+
+#if defined(SWD_DLLIMPLEMENTATION)
+#define SWD_DLLPUBLIC  SAL_DLLPUBLIC_EXPORT
+#else
+#define SWD_DLLPUBLIC  SAL_DLLPUBLIC_IMPORT
+#endif
+#define SWD_DLLPRIVATE SAL_DLLPRIVATE
+
+#endif /* INCLUDED_SWDDLLAPI_H */


More information about the Libreoffice-commits mailing list