]> The Tcpdump Group git mirrors - tcpdump/commit
Do not define __EXTENSIONS__ if already defined. [skip ci]
authorDenis Ovsienko <[email protected]>
Tue, 10 Aug 2021 09:18:19 +0000 (10:18 +0100)
committerDenis Ovsienko <[email protected]>
Tue, 10 Aug 2021 09:18:19 +0000 (10:18 +0100)
commitf139f17ba91ac60b36a0db424db01fbedf23a798
treeea4643f23cf929d0e72671bd6013b2f0e08b9384
parent3834579486f1bb4a002e45ceb6c015cd28b84611
Do not define __EXTENSIONS__ if already defined. [skip ci]

SunOS solaris11-amd64 5.11 11.4.0.15.0 i86pc i386 i86pc
clang version 6.0.0 (tags/RELEASE_600/final)

Every .c file that included netdissect-stdinc.h generated a warning:

In file included from ./netdissect-stdinc.h:42:
./ftmacros.h:48:11: warning: '__EXTENSIONS__' macro redefined
      [-Wmacro-redefined]
<built-in>:345:9: note: previous definition is here
ftmacros.h