stdcall and declspec(dllexport) don't play nicely together
Change-Id: I56da76771790cb6824ac3d01072d9143cb580741
This commit is contained in:
@@ -13,6 +13,10 @@ $(eval $(call gb_Library_add_defs,sellangmsi,\
|
||||
-D_STLP_USE_STATIC_LIB \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,sellangmsi,\
|
||||
/DEF:$(SRCDIR)/setup_native/source/win32/customactions/sellang/sellang.def \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_exception_objects,sellangmsi,\
|
||||
setup_native/source/win32/customactions/sellang/sellang \
|
||||
setup_native/source/win32/customactions/sellang/sorttree \
|
||||
|
@@ -232,7 +232,7 @@ void addMatchingDictionaries(
|
||||
|
||||
}
|
||||
|
||||
extern "C" __declspec(dllexport) UINT __stdcall SelectLanguage( MSIHANDLE handle )
|
||||
extern "C" UINT __stdcall SelectLanguage( MSIHANDLE handle )
|
||||
{
|
||||
char feature[100];
|
||||
MSIHANDLE database, view, record;
|
||||
|
4
setup_native/source/win32/customactions/sellang/sellang.def
Executable file
4
setup_native/source/win32/customactions/sellang/sellang.def
Executable file
@@ -0,0 +1,4 @@
|
||||
LIBRARY "sellangmsi.dll"
|
||||
EXPORTS
|
||||
SelectLanguage
|
||||
SortTree
|
@@ -18,7 +18,7 @@
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
extern "C" __declspec(dllexport) UINT __stdcall SortTree(MSIHANDLE)
|
||||
extern "C" UINT __stdcall SortTree(MSIHANDLE)
|
||||
{
|
||||
// Sort items (languages) in SelectionTree control, fdo#46355
|
||||
|
||||
|
Reference in New Issue
Block a user