[Openal-devel] Compilation on Solaris 9 issues

Erik Hofman erik at ehofman.com
Tue Feb 7 10:07:20 PST 2006


Ed Phillips wrote:

> nanosleep() is mandatory in the latest POSIX standard (but also part of 
> the "real-time" feature group - not sure what that means in terms of 
> "status" or "portability" but sounds "optional" to me ;-) ).  Anyway, 
> it's available on Linux, OpenBSD, and Solaris at least.

As well as IRIX.

> Seems like some autoconf magic is in order to find usleep() and fall 
> back to nanosleep() if needed (along whatever "hacks" are already there 
> to support Windows, etc.)...

Maybe look for nanosleep() and fall back to usleep() instead?

Erik



-- 
http://www.ehtw.info (Dutch)	Future of Enschede Airport Twente
http://www.ehofman.com/fgfs	FlightGear Flight Simulator
http://www.cafepress.com/fgfs_flightsim	 FlightGear Art



More information about the Openal-devel mailing list