On 25/01/08 11:32, [EMAIL PROTECTED] wrote:
PS: I think that including Windows API lots of problems could be fixed, changing functions like alarm(), fork(), wait()... in the source code, with their equivalents avaible in Windows API.
This is what Glynn suggests here: http://lists.osgeo.org/pipermail/grass-dev/2008-January/034999.html
Is there possible to make a conditional structure in order to determinate which build platform is in use? in the way to let gcc determinate which header/function it should include/compile?
Yes, just grep for "MINGW32" in lib/gis/ to see a whole series of examples, such as rename.c, sleep.c, etc.
Moritz _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
