One of our developers is in the process of building 3.1b7 under
UnixWare 1.1.2 (SysVR4.2), so that will provide another set of SVR4
defines to work with.
I tend to agree with Paul Wain and would rather see a special symbol
defined in the platform-specific Make-platform file. A symbol like
__svr4__ in particular would be defined for too wide a range of
platforms to be directly useful (Solaris 2.x, USL SVR4.0 [Dell Unix
etc], USL SVR4.2 [UnixWare], etc).
If there is a difference between Solaris 2.X and 2.Y that needs to be
#ifdef'd, I'd define another symbol like 'sunos5_2_3' or 'solaris_2_3'
and use it in cases where I needed to distinguish.
Eric
------------------------\ /--------------------------\ /-----------------------
Eric Rosenquist |Phone : (613) 592-4924 |"You're not as stupid as
Enterprise Solutions Ltd.|Fax : (613) 591-3485 |you look,or sound,or our
94 Rowe Drive |Internet: rosenqui@esltd.com|best testing indicates"
Kanata Ont CANADA K2L 3Y9|Opinions: are my own | -- Mr. Burns to Homer
------------------------/ \--------------------------/ \-----------------------