summaryrefslogtreecommitdiff
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2023-01-30 12:46:44 -0800
committerGuy Harris <gharris@sonic.net>2023-01-30 12:46:44 -0800
commitaf51eea2909c10b540dba6c1b2a1e7e18e230993 (patch)
tree7887fc3b68c48b096ab5d582978febb51892a172 /cmakeconfig.h.in
parentce5f51e082b50f10c253c06291f1c8cf2a51362f (diff)
downloadtcpdump-af51eea2909c10b540dba6c1b2a1e7e18e230993.tar.gz
configure, CMakeLists.txt: don't check for snprintf().
It's specified by the C90 standard (and, as I remember, by the C89 standard, although I no longer have my paper copy); no need to worry about ancient environments that lack it, and we have some cases where we call it in code not protected by #ifdef HAVE_STRFTIME/#endif and haven't seen any reports of problems.
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 9bd23d7a..d008c794 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -102,7 +102,7 @@
/* Define to 1 if you have the `pcap_dump_flush' function. */
#cmakedefine HAVE_PCAP_DUMP_FLUSH 1
-/* define if libpcap has pcap_dump_ftell() */
+/* Define to 1 if you have the `pcap_dump_ftell' function. */
#cmakedefine HAVE_PCAP_DUMP_FTELL 1
/* Define to 1 if you have the `pcap_dump_ftell64' function. */
@@ -177,9 +177,6 @@
/* Define to 1 if you have the `strdup' function. */
#cmakedefine HAVE_STRDUP 1
-/* Define to 1 if you have the `strftime' function. */
-#cmakedefine HAVE_STRFTIME 1
-
/* Define to 1 if you have the <strings.h> header file. */
#cmakedefine HAVE_STRINGS_H 1