# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1362141816 0 # Node ID b02aa3947562561fb9e8418221d9cd2679e8acb3 # Parent 952a414632403b80b472d6f0627a1c0740355040 Missing dw_filesystem_set_column_title export from the MinGW definition file fixes most DW apps working cross compilers on Windows... but having an issue with passing the drive parameter to drivefree in dwcompat. diff -r 952a41463240 -r b02aa3947562 dwcompat.h --- a/dwcompat.h Thu Feb 28 13:55:33 2013 +0000 +++ b/dwcompat.h Fri Mar 01 12:43:36 2013 +0000 @@ -156,12 +156,8 @@ #if defined(__WIN32__) || defined(WINNT) #if defined(MSVC) && !defined(API) -# ifdef __MINGW32__ -# ifdef BUILD_DLL -# define API APIENTRY __declspec(dllexport) -# else -# define API APIENTRY __declspec(dllimport) -# endif +# if defined(__MINGW32__) && defined(BUILD_DLL) +# define API _cdecl __declspec(dllexport) # else # define API _cdecl # endif diff -r 952a41463240 -r b02aa3947562 win/dw-mingw.def --- a/win/dw-mingw.def Thu Feb 28 13:55:33 2013 +0000 +++ b/win/dw-mingw.def Fri Mar 01 12:43:36 2013 +0000 @@ -160,6 +160,7 @@ dw_filesystem_change_item @243 dw_filesystem_change_file @244 dw_filesystem_get_column_type @245 + dw_filesystem_set_column_title @246 dw_screen_width @250 dw_screen_height @251