summaryrefslogtreecommitdiff
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-21 17:57:20 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-21 17:57:20 -0800
commit45fc519a2ac35af5805204418c370136aa0db1f7 (patch)
tree4fb15d49aabe44730e7e042ee1a658de7040faa6 /cmakeconfig.h.in
parentc29177f65837dfa7bc18daf7df872069811ab91e (diff)
downloadtcpdump-45fc519a2ac35af5805204418c370136aa0db1f7.tar.gz
Don't test for __attribute__ in the configure script.
Instead, use compiler test macros to check whether *particular* attributes are supported, and set various #defines appropriately, in header files. Rename the UNALIGNED structure attribute to ND_UNALIGNED, and ask whether we still need it.
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 3f0ff7de..6b6adc32 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -250,9 +250,6 @@
/* define if libpcap has yydebug */
#cmakedefine HAVE_YYDEBUG 1
-/* define if your compiler has __attribute__ */
-#cmakedefine HAVE___ATTRIBUTE__ 1
-
/* Define to 1 if netenet/dnetdb.h declares `dnet_htoa' */
#cmakedefine NETDNET_DNETDB_H_DECLARES_DNET_HTOA 1
@@ -298,10 +295,6 @@
/* define on AIX to get certain functions */
#cmakedefine _SUN 1
-/* define if your compiler allows __attribute__((fallthrough)) without a
- warning */
-#cmakedefine __ATTRIBUTE___FALLTHROUGH_OK 1
-
/* to handle Ultrix compilers that don't support const in prototypes */
#cmakedefine const 1