Newsgroups: comp.unix.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!stanford.edu!lucid.com!karoshi!jwz
From: jwz@lucid.com (Jamie Zawinski)
Subject: Sun audio help (version numbers)
Message-ID: <JWZ.91Jun3234710@thalidomide.lucid.com>
Sender: usenet@lucid.com
Organization: Lucid, Inc., Menlo Park, CA
Date: 3 Jun 91 23:47:10

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
