Re: Portable use of timers
- From: "bytebro" <keith.willis@xxxxxxxxx>
- Date: 27 Oct 2006 01:41:13 -0700
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.
.
- References:
- Portable use of timers
- From: bytebro
- Re: Portable use of timers
- From: Rob Thorpe
- Portable use of timers
- Prev by Date: finding primes
- Next by Date: Re: finding primes
- Previous by thread: Re: Portable use of timers
- Next by thread: Addressing Physical memory in XP using C++
- Index(es):