[comp.unix.programmer] Sun audio help

jwz@lucid.com (Jamie Zawinski) (06/04/91)

I have some code which is conditionally compiled to be able to play
ulaw sound files under both SunOS 4.0.1 and 4.1.1.  The problem is,
it's really inconvenient to maintain a seperate binary of this program
for these two (otherwise compatible) OS releases.  Is there any way for
me to tell at runtime which version of the OS is running?  Some library
version number or something?

Any suggestions are welcome (except ones which involve grepping through
files... :-))

	-- Jamie