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 <gl...@gclements.plus.com>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to