[Libreoffice-commits] core.git: include/sal
Michael Meeks
michael.meeks at suse.com
Fri Jul 5 12:41:02 PDT 2013
include/sal/main.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 0ffab9363d527d55b12b9b09d7136ca1c9d171e0
Author: Michael Meeks <michael.meeks at suse.com>
Date: Fri Jul 5 20:39:30 2013 +0100
force 'main' to always be DLLPUBLIC.
Change-Id: I2a69edfda5e98645fe55ac2367875786a8140ea4
diff --git a/include/sal/main.h b/include/sal/main.h
index 634b57c..d5c227c 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_CALL main(int argc, char ** argv) \
+int SAL_DLLPUBLIC SAL_CALL main(int argc, char ** argv) \
{ \
int ret; \
sal_detail_initialize(argc, argv); \
@@ -53,7 +53,7 @@ int SAL_CALL main(int argc, char ** argv) \
}
#define SAL_MAIN_IMPL \
-int SAL_CALL main(int argc, char ** argv) \
+int SAL_DLLPUBLIC SAL_CALL main(int argc, char ** argv) \
{ \
int ret; \
sal_detail_initialize(argc, argv); \
More information about the Libreoffice-commits
mailing list