Add fake OSMAJORVERSION/OSMINORVERSION CPP flags
authorJon Trulson <jon@radscan.com>
Sat, 26 Oct 2019 00:25:06 +0000 (18:25 -0600)
committerJon Trulson <jon@radscan.com>
Sat, 26 Oct 2019 00:33:06 +0000 (18:33 -0600)
commit4320036bfa1898292b8083c27141f1964fd63ba8
tree74c0a671f8ee5a0a9c9bb376cd7eaa9dfa0740c9
parent0d78e1703686a7da98fe130ff3501980d7eb9f3f
Add fake OSMAJORVERSION/OSMINORVERSION CPP flags

These really need to go away and are primarily used by older
unsupported platforms.

Here we fake these for Linux (4.15), freebsd (10.0), openbsd (6.2),
netbsd (8.0), and solaris (5.10).

I'm not sure about the Solaris one as I don't have any of them.
Basically, anything after Solaris 5.10, which is pretty ancient.

These should be considered temporary - all uses of these macros in the
code should be removed in favor of functionality-specific checks in
configure.
cde/configure.ac