[Libreoffice-commits] core.git: include/sal
Michael Stahl
mstahl at redhat.com
Fri Jul 5 14:06:54 PDT 2013
include/sal/main.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 40026a2fcd88851e18f701a10c3cddc87b549476
Author: Michael Stahl <mstahl at redhat.com>
Date: Fri Jul 5 22:41:00 2013 +0200
SAL_DLLPUBLIC is for sal library, use SAL_DLLPUBLIC_EXPORT ...
... instead (which will hopefully fix the Windows build).
Change-Id: I56448e61dffb7529e3b80a52ebc06a923b5fa044
diff --git a/include/sal/main.h b/include/sal/main.h
index d5c227c..6abf588 100644
--- a/include/sal/main.h
+++ b/include/sal/main.h
@@ -43,7 +43,7 @@ SAL_DLLPUBLIC void SAL_CALL sal_detail_deinitialize();
#else
#define SAL_MAIN_WITH_ARGS_IMPL \
-int SAL_DLLPUBLIC SAL_CALL main(int argc, char ** argv) \
+int SAL_DLLPUBLIC_EXPORT SAL_CALL main(int argc, char ** argv) \
{ \
int ret; \
sal_detail_initialize(argc, argv); \
@@ -53,7 +53,7 @@ int SAL_DLLPUBLIC SAL_CALL main(int argc, char ** argv) \
}
#define SAL_MAIN_IMPL \
-int SAL_DLLPUBLIC SAL_CALL main(int argc, char ** argv) \
+int SAL_DLLPUBLIC_EXPORT SAL_CALL main(int argc, char ** argv) \
{ \
int ret; \
sal_detail_initialize(argc, argv); \
More information about the Libreoffice-commits
mailing list