Dan --
 
> platform.c and platform.h is exactly what we're going to do. We need a
> platforms directory as well. In there we'll have a win32.[ch], a
> linux.[ch], a vms.[ch], a generic.[ch] and so on. Configure.pl will copy
> the appropriate ones up and rename them platform.c & platform.h, and we'll
> go from there.

OK. I just checked in a first cut at the files. I left time.[hc] as they
are now because I don't know enough about the config stuff to be able to
pull off the switcheroo myself. Hopefully someone who knows it better can
pull that off quickly and we'll have the right stuff for these sleep, time
and etc. problems to just get solved once and for all...

 
> For things like sleep that are not everywhere, I think we need to restrict
> our usage to PP_sleep (for example) and #define that as appropriate in teh
> platform.h file.


Regards,

-- Gregor

Reply via email to