force 'main' to always be DLLPUBLIC.

Change-Id: I2a69edfda5e98645fe55ac2367875786a8140ea4
This commit is contained in:
Michael Meeks
2013-07-05 20:39:30 +01:00
parent 42744c9b88
commit 0ffab9363d

View File

@@ -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); \