]> The Tcpdump Group git mirrors - tcpdump/commit
Get rid of duplicate definition of __has_attribute.
authorGuy Harris <[email protected]>
Wed, 11 Aug 2021 08:44:51 +0000 (01:44 -0700)
committerGuy Harris <[email protected]>
Wed, 11 Aug 2021 08:44:51 +0000 (01:44 -0700)
commitbc4a4543f881fb972251248c9159c9a135c6b512
treefe923b961aeb187687a8c01897b6dca9360da6ed
parentb3626b4c729ddb81b43ef58bee5d324b94f8908a
Get rid of duplicate definition of __has_attribute.

compiler-tests.h already checks whether __has_attribute and, if not,
defines it as a macro that always returns 0 (so that we use the "what
version of the compiler is this?" fallback checks for a given
attribute).  We include compiler-tests.h before we define
__has_attribute ourselves, so we don't need to do it ourselves.
funcattrs.h