utils/macros.h: Refactor the GCC-ish compiler support.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 5 Jul 2017 20:23:00 +0000 (21:23 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 6 Jul 2017 08:48:25 +0000 (09:48 +0100)
Fully define `GCC_VERSION_P' early, and then use it without any other
guard to define the GCC-specific hacks.  This way, it's easy to support
other compilers which behave similarly, by defining an appropriate
`FOO_VERSION_P' macro, and then adding appropriate extra alternatives to
the individual guards.

No functional changes.


No differences found