Sun audio help (version numbers)

Jamie Zawinski jwz at lucid.com
Mon Jun 3 23:47:10 AEST 1991


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



More information about the Comp.unix.programmer mailing list