Mercurial > dwindows
diff dwcompat.h @ 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 | 123d1a900f54 |
children | 02a23143334c |
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