Re: Portable use of timers




Rob Thorpe wrote:

If you do search on preprocessor symbols then try to avoid naming
machine architectures on *nix. Don't assume that just because you're
on sparc you will have sys/time.h. Its better to depend on systems so
look for __sun__, __sysv__, __hpux and friends.

That's good advice - thanks. It hadn't occurred to me that the
architecture is distinct from the species of OS.

.