]> The Tcpdump Group git mirrors - tcpdump/commit
Make the tests a bit easier to read.
authorGuy Harris <[email protected]>
Wed, 11 Aug 2021 08:05:52 +0000 (01:05 -0700)
committerGuy Harris <[email protected]>
Sun, 17 Jul 2022 02:56:20 +0000 (19:56 -0700)
commit83d4b79552e6cb779bc5214cdeb84f2c96ffc43e
tree22abcc3d250b417647d9397b17be375fa65f8e8f
parent5eec529b4bdac532a0182cbdc13a27666c553f71
Make the tests a bit easier to read.

Add comments and indentation.

Handle XL C a bit more like the other compilers.  Make the first test be
"is this someting that's not XL C", as is the case for other compilers;
that test is done as "are both __xlC__ and __ibmxl__ undefined".  If
either of them are defined, use __ibmxl_version__ if __ibmxl__ is
defined, and use __xlC__ otherwise.

(cherry picked from commit 1912902e96bcb1729d58225541c5e5b75345886a)
compiler-tests.h