comparison 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
comparison
equal deleted inserted replaced
1858:952a41463240 1859:b02aa3947562
154 154
155 /* Windows */ 155 /* Windows */
156 #if defined(__WIN32__) || defined(WINNT) 156 #if defined(__WIN32__) || defined(WINNT)
157 157
158 #if defined(MSVC) && !defined(API) 158 #if defined(MSVC) && !defined(API)
159 # ifdef __MINGW32__ 159 # if defined(__MINGW32__) && defined(BUILD_DLL)
160 # ifdef BUILD_DLL 160 # define API _cdecl __declspec(dllexport)
161 # define API APIENTRY __declspec(dllexport)
162 # else
163 # define API APIENTRY __declspec(dllimport)
164 # endif
165 # else 161 # else
166 # define API _cdecl 162 # define API _cdecl
167 # endif 163 # endif
168 #endif 164 #endif
169 165