Mercurial > dwindows
changeset 1859:b02aa3947562
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.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 01 Mar 2013 12:43:36 +0000 |
parents | 952a41463240 |
children | 02a23143334c |
files | dwcompat.h win/dw-mingw.def |
diffstat | 2 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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