[GRASS-dev] Debugging QGIS with GRASS provider on Windows
Glynn Clements
glynn at gclements.plus.com
Mon Jun 22 08:02:44 PDT 2015
Radim Blazek wrote:
> >> This specific issue may just need changing __MINGW32__ to WIN32 (or
> >> _WIN32 or _WINNT, all of which are defined by MinGW) so that MSVC gets
> >> the same treatment.
> >
> > This might be a good idea in general. I think I saw some __MINGW32__ #ifs
> > which (according to the code) meant to check for MS Windows system not MinGW
> > compiler.
>
> Do you think that __MINGW32__ may be changed to WIN32 globally without
> inspecting each case? There are probably really __MINGW32__ specific
> places. Inspecting each __MINGW32__ individually seems to be the
> largest amount of work doing port to MSVC.
I couldn't see anything that appeared to be specific to MinGW rather
than to Windows generally.
You could try just defining __MINGW32__ for MSVC and see how far that
gets you.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list