[comp.sys.sun] How to know SunOS rev in 'cc'

dwatts@uunet.uu.net (Dan Watts) (07/24/90)

When compiling a problem under SunOS, is there a symbol defined by the
compiler that can be used to determine the rev of the O/S it's being
compiled on?  I'm trying not to add yet another -dxxxx to my cc line.  I
need to be able to compile the same program on both SunOS 4.0.3 and SunOS
4.1

Any pointers would be apreciated.

CompuServe: >INTERNET:uunet.UU.NET!ki!dwatts    Dan Watts     
UUCP      : ...!uunet!ki!dwatts                 Ki Research, Inc.