2006-09-06 22:28:19 +00:00
|
|
|
/* cmakeconfig.h.in */
|
|
|
|
|
2017-12-08 18:44:44 +00:00
|
|
|
#ifndef __CONFIG_H__
|
|
|
|
#define __CONFIG_H__
|
|
|
|
|
2009-09-21 00:19:07 +00:00
|
|
|
/* Note: You cannot use earlier #defines in later #cmakedefines (cmake 2.6.2). */
|
|
|
|
|
2011-08-02 21:23:00 +00:00
|
|
|
/* Name of package */
|
|
|
|
#define PACKAGE "wireshark"
|
|
|
|
|
2015-01-10 21:29:57 +00:00
|
|
|
#define VERSION_EXTRA "$ENV{WIRESHARK_VERSION_EXTRA}"
|
|
|
|
|
2009-09-12 17:20:08 +00:00
|
|
|
/* Version number of package */
|
2015-01-10 21:29:57 +00:00
|
|
|
#define VERSION "${CPACK_PACKAGE_VERSION}${VERSION_EXTRA}"
|
2014-01-02 19:11:06 +00:00
|
|
|
#define VERSION_MAJOR ${PROJECT_MAJOR_VERSION}
|
|
|
|
#define VERSION_MINOR ${PROJECT_MINOR_VERSION}
|
|
|
|
#define VERSION_MICRO ${PROJECT_PATCH_VERSION}
|
2009-09-12 17:20:08 +00:00
|
|
|
|
2019-02-13 19:08:19 +00:00
|
|
|
#define PLUGIN_PATH_ID "${PLUGIN_PATH_ID}"
|
2015-02-10 21:48:48 +00:00
|
|
|
#define VERSION_FLAVOR "${VERSION_FLAVOR}"
|
|
|
|
|
2014-06-13 15:59:02 +00:00
|
|
|
/* Build wsutil with SIMD optimization */
|
|
|
|
#cmakedefine HAVE_SSE4_2 1
|
|
|
|
|
2009-09-21 00:19:07 +00:00
|
|
|
/* Define to 1 if we want to enable plugins */
|
|
|
|
#cmakedefine HAVE_PLUGINS 1
|
2009-09-15 12:22:13 +00:00
|
|
|
|
2016-02-01 20:33:33 +00:00
|
|
|
/* Define to 1 if we check hf conflict */
|
|
|
|
#cmakedefine ENABLE_CHECK_FILTER 1
|
|
|
|
|
2017-11-01 20:22:32 +00:00
|
|
|
/* Link Wireshark libraries statically */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine ENABLE_STATIC 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Enable AirPcap */
|
|
|
|
#cmakedefine HAVE_AIRPCAP 1
|
|
|
|
|
2018-03-23 21:21:06 +00:00
|
|
|
/* Define to 1 if you have the <alloca.h> header file. */
|
|
|
|
#cmakedefine HAVE_ALLOCA_H 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_ARPA_INET_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 20:36:11 +00:00
|
|
|
/* Define to 1 if you have the `bpf_image' function. */
|
|
|
|
#cmakedefine HAVE_BPF_IMAGE 1
|
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to use c-ares library */
|
|
|
|
#cmakedefine HAVE_C_ARES 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_FCNTL_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2018-02-09 01:20:26 +00:00
|
|
|
/* Define to use the MaxMind DB library */
|
|
|
|
#cmakedefine HAVE_MAXMINDDB 1
|
2017-04-14 14:52:10 +00:00
|
|
|
|
2016-02-23 13:33:54 +00:00
|
|
|
/* Define to 1 if you have the <ifaddrs.h> header file. */
|
|
|
|
#cmakedefine HAVE_IFADDRS_H 1
|
|
|
|
|
2018-07-20 22:20:40 +00:00
|
|
|
/* Define to 1 if yu have the `fseeko` function. */
|
|
|
|
#cmakedefine HAVE_FSEEKO 1
|
|
|
|
|
2018-05-05 06:00:29 +00:00
|
|
|
/* Define to 1 if you have the `getexecname' function. */
|
|
|
|
#cmakedefine HAVE_GETEXECNAME 1
|
|
|
|
|
2016-02-23 13:33:54 +00:00
|
|
|
/* Define to 1 if you have the `getifaddrs' function. */
|
|
|
|
#cmakedefine HAVE_GETIFADDRS 1
|
|
|
|
|
2015-11-19 10:30:44 +00:00
|
|
|
/* Define if LIBSSH support is enabled */
|
|
|
|
#cmakedefine HAVE_LIBSSH 1
|
|
|
|
|
|
|
|
/* Define if LIBSSH has ssh_userauth_agent() function */
|
|
|
|
#cmakedefine HAVE_SSH_USERAUTH_AGENT 1
|
|
|
|
|
2018-05-05 06:39:46 +00:00
|
|
|
/* Define if you have the 'dlget' function. */
|
|
|
|
#cmakedefine HAVE_DLGET 1
|
|
|
|
|
|
|
|
/* Define if you have the 'getexecname' function. */
|
|
|
|
#cmakedefine HAVE_GETEXECNAME 1
|
|
|
|
|
2014-12-20 05:18:27 +00:00
|
|
|
/* Define if you have the 'floorl' function. */
|
|
|
|
#cmakedefine HAVE_FLOORL 1
|
|
|
|
|
2016-02-07 21:35:31 +00:00
|
|
|
/* Define if you have the 'lrint' function. */
|
|
|
|
#cmakedefine HAVE_LRINT 1
|
|
|
|
|
2014-12-25 01:10:40 +00:00
|
|
|
/* Define to 1 if you have the getopt_long function. */
|
|
|
|
#cmakedefine HAVE_GETOPT_LONG 1
|
2009-09-12 17:20:08 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have the <getopt.h> header file. */
|
|
|
|
#cmakedefine HAVE_GETOPT_H 1
|
2011-10-08 06:09:38 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have the <grp.h> header file. */
|
|
|
|
#cmakedefine HAVE_GRP_H 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to use heimdal kerberos */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_HEIMDAL_KERBEROS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have the `inflatePrime' function. */
|
|
|
|
#cmakedefine HAVE_INFLATEPRIME 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `issetugid' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_ISSETUGID 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to use kerberos */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_KERBEROS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2016-08-26 13:18:29 +00:00
|
|
|
/* Define to use nghttp2 */
|
|
|
|
#cmakedefine HAVE_NGHTTP2 1
|
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to use the libcap library */
|
|
|
|
#cmakedefine HAVE_LIBCAP 1
|
|
|
|
|
|
|
|
/* Define to use GnuTLS library */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_LIBGNUTLS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2018-12-12 13:34:00 +00:00
|
|
|
/* Define to 1 if GnuTLS was built with pkcs11 support. */
|
|
|
|
#cmakedefine HAVE_GNUTLS_PKCS11 1
|
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Enable libnl support */
|
|
|
|
#cmakedefine HAVE_LIBNL 1
|
|
|
|
|
|
|
|
/* libnl version 1 */
|
|
|
|
#cmakedefine HAVE_LIBNL1 1
|
|
|
|
|
|
|
|
/* libnl version 2 */
|
|
|
|
#cmakedefine HAVE_LIBNL2 1
|
|
|
|
|
|
|
|
/* libnl version 3 */
|
|
|
|
#cmakedefine HAVE_LIBNL3 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to use libpcap library */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_LIBPCAP 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have the `smi' library (-lsmi). */
|
|
|
|
#cmakedefine HAVE_LIBSMI 1
|
|
|
|
|
2016-04-01 00:32:56 +00:00
|
|
|
/* Define to use zlib library */
|
|
|
|
#cmakedefine HAVE_ZLIB 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2019-07-10 22:25:45 +00:00
|
|
|
/* Define to use the minizip library */
|
|
|
|
#cmakedefine HAVE_MINIZIP 1
|
|
|
|
|
2019-04-10 10:52:52 +00:00
|
|
|
/* Define to use brotli library */
|
|
|
|
#cmakedefine HAVE_BROTLI 1
|
|
|
|
|
2016-09-26 14:25:11 +00:00
|
|
|
/* Define to use lz4 library */
|
|
|
|
#cmakedefine HAVE_LZ4 1
|
|
|
|
|
2018-04-13 15:41:20 +00:00
|
|
|
/* Check for lz4frame */
|
|
|
|
#cmakedefine HAVE_LZ4FRAME_H 1
|
|
|
|
|
2016-09-26 14:25:11 +00:00
|
|
|
/* Define to use snappy library */
|
|
|
|
#cmakedefine HAVE_SNAPPY 1
|
|
|
|
|
2019-08-12 21:57:45 +00:00
|
|
|
/* Define to use zstd library */
|
|
|
|
#cmakedefine HAVE_ZSTD 1
|
|
|
|
|
2015-03-30 22:55:15 +00:00
|
|
|
/* Define to 1 if you have the <linux/sockios.h> header file. */
|
|
|
|
#cmakedefine HAVE_LINUX_SOCKIOS_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <linux/if_bonding.h> header file. */
|
|
|
|
#cmakedefine HAVE_LINUX_IF_BONDING_H 1
|
|
|
|
|
2013-10-10 20:14:12 +00:00
|
|
|
/* Define to use Lua */
|
|
|
|
#cmakedefine HAVE_LUA 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <lua.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_LUA_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_MEMORY_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to use MIT kerberos */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_MIT_KERBEROS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2016-05-29 17:52:19 +00:00
|
|
|
/* Define to 1 if you have the `mkstemps' function. */
|
|
|
|
#cmakedefine HAVE_MKSTEMPS 1
|
2009-08-31 23:11:52 +00:00
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `mmap' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_MMAP 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `mprotect' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_MPROTECT 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <netdb.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_NETDB_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_NETINET_IN_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* nl80211.h is new enough */
|
|
|
|
#cmakedefine HAVE_NL80211 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* SET_CHANNEL is supported */
|
|
|
|
#cmakedefine HAVE_NL80211_CMD_SET_CHANNEL 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2015-01-05 00:11:56 +00:00
|
|
|
/* SPLIT_WIPHY_DUMP is supported */
|
|
|
|
#cmakedefine HAVE_NL80211_SPLIT_WIPHY_DUMP 1
|
|
|
|
|
2016-02-06 23:40:51 +00:00
|
|
|
/* VHT_CAPABILITY is supported */
|
|
|
|
#cmakedefine HAVE_NL80211_VHT_CAPABILITY 1
|
|
|
|
|
2017-04-05 19:15:27 +00:00
|
|
|
/* Define to 1 if you have macOS frameworks */
|
2017-06-16 08:49:44 +00:00
|
|
|
#cmakedefine HAVE_MACOS_FRAMEWORKS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2017-04-05 19:15:27 +00:00
|
|
|
/* Define to 1 if you have the macOS CFPropertyListCreateWithStream function */
|
2014-11-10 20:24:18 +00:00
|
|
|
#cmakedefine HAVE_CFPROPERTYLISTCREATEWITHSTREAM 1
|
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define if pcap_breakloop is known */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_BREAKLOOP 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2010-05-06 18:34:30 +00:00
|
|
|
/* Define to 1 if you have the `pcap_create' function. */
|
|
|
|
#cmakedefine HAVE_PCAP_CREATE 1
|
|
|
|
|
2015-03-25 03:22:00 +00:00
|
|
|
/* Define to 1 if the capture buffer size can be set. */
|
|
|
|
#cmakedefine CAN_SET_CAPTURE_BUFFER_SIZE 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `pcap_datalink_name_to_val' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_DATALINK_NAME_TO_VAL 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2010-03-17 19:31:33 +00:00
|
|
|
/* Define to 1 if you have the `pcap_datalink_val_to_description' function. */
|
|
|
|
#cmakedefine HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `pcap_datalink_val_to_name' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_DATALINK_VAL_TO_NAME 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `pcap_findalldevs' function and a pcap.h that
|
|
|
|
declares pcap_if_t. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_FINDALLDEVS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `pcap_freecode' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_FREECODE 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2010-03-17 19:31:33 +00:00
|
|
|
/* Define to 1 if you have the `pcap_free_datalinks' function. */
|
|
|
|
#cmakedefine HAVE_PCAP_FREE_DATALINKS 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `pcap_get_selectable_fd' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_GET_SELECTABLE_FD 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `pcap_lib_version' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_LIB_VERSION 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `pcap_list_datalinks' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_LIST_DATALINKS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2014-08-21 22:48:48 +00:00
|
|
|
/* Define to 1 if you have the `pcap_open' function. */
|
|
|
|
#cmakedefine HAVE_PCAP_OPEN 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `pcap_open_dead' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_OPEN_DEAD 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2017-05-11 18:19:02 +00:00
|
|
|
/* Define to 1 if you have libpcap/WinPcap remote capturing support. */
|
2013-10-10 21:02:50 +00:00
|
|
|
#cmakedefine HAVE_PCAP_REMOTE 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `pcap_set_datalink' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_SET_DATALINK 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2014-09-28 23:28:36 +00:00
|
|
|
/* Define to 1 if you have the `pcap_setsampling' function. */
|
2014-08-21 22:48:48 +00:00
|
|
|
#cmakedefine HAVE_PCAP_SETSAMPLING 1
|
|
|
|
|
2014-09-28 23:28:36 +00:00
|
|
|
/* Define to 1 if you have the `pcap_set_tstamp_precision' function. */
|
|
|
|
#cmakedefine HAVE_PCAP_SET_TSTAMP_PRECISION 1
|
|
|
|
|
2017-08-07 14:38:52 +00:00
|
|
|
/* Define to 1 if you have the `pcap_set_tstamp_type' function. */
|
|
|
|
#cmakedefine HAVE_PCAP_SET_TSTAMP_TYPE 1
|
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have the <pwd.h> header file. */
|
|
|
|
#cmakedefine HAVE_PWD_H 1
|
|
|
|
|
2014-12-27 02:21:05 +00:00
|
|
|
/* Define to 1 if you have the optreset variable */
|
|
|
|
#cmakedefine HAVE_OPTRESET 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define if sa_len field exists in struct sockaddr */
|
2016-10-22 08:56:48 +00:00
|
|
|
#cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2014-02-16 10:12:35 +00:00
|
|
|
/* Define to 1 if you want to playing SBC by standalone BlueZ SBC library */
|
|
|
|
#cmakedefine HAVE_SBC 1
|
|
|
|
|
2016-12-06 19:49:12 +00:00
|
|
|
/* Define to 1 if you have the SpanDSP library. */
|
2016-11-23 23:27:14 +00:00
|
|
|
#cmakedefine HAVE_SPANDSP 1
|
|
|
|
|
2017-07-26 21:23:12 +00:00
|
|
|
/* Define to 1 if you have the bcg729 library. */
|
|
|
|
#cmakedefine HAVE_BCG729 1
|
|
|
|
|
2019-02-02 14:52:07 +00:00
|
|
|
/* Define to 1 if you have the speexdsp library. */
|
|
|
|
#cmakedefine HAVE_SPEEXDSP 1
|
|
|
|
|
2017-04-04 21:23:59 +00:00
|
|
|
/* Define to 1 if you have the lixbml2 library. */
|
|
|
|
#cmakedefine HAVE_LIBXML2 1
|
|
|
|
|
2013-10-10 23:54:53 +00:00
|
|
|
/* Define to 1 if you have the `setresgid' function. */
|
|
|
|
#cmakedefine HAVE_SETRESGID 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `setresuid' function. */
|
|
|
|
#cmakedefine HAVE_SETRESUID 1
|
|
|
|
|
2014-08-20 21:29:33 +00:00
|
|
|
/* Define to 1 if you have the WinSparkle library */
|
|
|
|
#cmakedefine HAVE_SOFTWARE_UPDATE 1
|
|
|
|
|
2014-12-20 05:18:27 +00:00
|
|
|
/* Define if you have the 'strptime' function. */
|
|
|
|
#cmakedefine HAVE_STRPTIME 1
|
|
|
|
|
On UN*X, st_ctime is the last status change time, not the creation time.
That's the time the file's inode last changed, so size changes,
permission changes, etc. affect it. It's *not* the time the file was
created; most UN*Xes don't provide that. Newer versions of FreeBSD,
NetBSD, OpenBSD, and macOS do, but other UN*Xes don't appear to.
On Windows, at least according to Microsoft's documentation, st_ctime
*is* the creation time. Hopefully that's not the result of confusion on
the part of somebody at Microsoft.
Change-Id: I20743703f6ef66e40dff9004dc91bed46af6fad0
Reviewed-on: https://code.wireshark.org/review/18378
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-10-22 05:19:46 +00:00
|
|
|
/* Define to 1 if `st_birthtime' is a member of `struct stat'. */
|
|
|
|
#cmakedefine HAVE_STRUCT_STAT_ST_BIRTHTIME 1
|
|
|
|
|
2013-10-10 23:54:53 +00:00
|
|
|
/* Define if st_flags field exists in struct stat */
|
2016-10-22 08:56:48 +00:00
|
|
|
#cmakedefine HAVE_STRUCT_STAT_ST_FLAGS 1
|
2013-10-10 23:54:53 +00:00
|
|
|
|
2019-01-03 13:56:31 +00:00
|
|
|
/* Define if st_blksize field exists in struct stat */
|
|
|
|
#cmakedefine HAVE_STRUCT_STAT_ST_BLKSIZE 1
|
|
|
|
|
On UN*X, st_ctime is the last status change time, not the creation time.
That's the time the file's inode last changed, so size changes,
permission changes, etc. affect it. It's *not* the time the file was
created; most UN*Xes don't provide that. Newer versions of FreeBSD,
NetBSD, OpenBSD, and macOS do, but other UN*Xes don't appear to.
On Windows, at least according to Microsoft's documentation, st_ctime
*is* the creation time. Hopefully that's not the result of confusion on
the part of somebody at Microsoft.
Change-Id: I20743703f6ef66e40dff9004dc91bed46af6fad0
Reviewed-on: https://code.wireshark.org/review/18378
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-10-22 05:19:46 +00:00
|
|
|
/* Define to 1 if `__st_birthtime' is a member of `struct stat'. */
|
|
|
|
#cmakedefine HAVE_STRUCT_STAT___ST_BIRTHTIME 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_IOCTL_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_SOCKET_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/sockio.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_SOCKIO_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_TIME_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/utsname.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_UTSNAME_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/wait.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_WAIT_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define if tm_zone field exists in struct tm */
|
2016-03-25 21:04:13 +00:00
|
|
|
#cmakedefine HAVE_STRUCT_TM_TM_ZONE 1
|
2013-10-10 21:02:50 +00:00
|
|
|
|
|
|
|
/* Define if tzname array exists */
|
|
|
|
#cmakedefine HAVE_TZNAME 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_UNISTD_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Name of package */
|
|
|
|
#cmakedefine PACKAGE
|
|
|
|
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#cmakedefine PACKAGE_BUGREPORT
|
|
|
|
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#cmakedefine PACKAGE_NAME
|
|
|
|
|
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#cmakedefine PACKAGE_STRING
|
|
|
|
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#cmakedefine PACKAGE_TARNAME
|
|
|
|
|
|
|
|
/* Define to the version of this package. */
|
|
|
|
#cmakedefine PACKAGE_VERSION
|
|
|
|
|
2018-01-09 00:38:10 +00:00
|
|
|
/* Support for pcapng */
|
2013-10-10 21:02:50 +00:00
|
|
|
#cmakedefine PCAP_NG_DEFAULT 1
|
|
|
|
|
2014-12-13 00:51:40 +00:00
|
|
|
/* Define if we have QtMultimedia */
|
2019-01-10 01:45:00 +00:00
|
|
|
#define QT_MULTIMEDIA_LIB 1
|
2014-11-19 00:21:42 +00:00
|
|
|
|
2013-10-10 23:54:53 +00:00
|
|
|
/* Define if we have QtMacExtras */
|
|
|
|
#cmakedefine QT_MACEXTRAS_LIB 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2015-02-14 18:10:21 +00:00
|
|
|
/* Build androiddump with libpcap instead of wireshark stuff */
|
|
|
|
#cmakedefine ANDROIDDUMP_USE_LIBPCAP 1
|
|
|
|
|
2013-07-23 09:41:35 +00:00
|
|
|
/* Large file support */
|
|
|
|
#cmakedefine _LARGEFILE_SOURCE
|
|
|
|
#cmakedefine _LARGEFILE64_SOURCE
|
|
|
|
#cmakedefine _LARGE_FILES
|
|
|
|
#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
|
|
|
`char[]'. */
|
2006-10-24 17:39:32 +00:00
|
|
|
/* Note: not use in the code */
|
2006-09-06 22:28:19 +00:00
|
|
|
#cmakedefine YYTEXT_POINTER
|
2012-02-02 12:04:22 +00:00
|
|
|
|
2013-10-04 21:59:18 +00:00
|
|
|
#if defined(_WIN32)
|
2017-10-26 16:05:06 +00:00
|
|
|
/*
|
|
|
|
* Make sure everyone is using the same API and that it's sufficient
|
|
|
|
* for our needs.
|
|
|
|
* This should match the following:
|
|
|
|
* - The <compatibility><application> section in image\wireshark.exe.manifest.in
|
|
|
|
* - The GetWindowsVersion parts of packaging\nsis\wireshark.nsi
|
|
|
|
* - The VersionNT parts of packaging\wix\Prerequisites.wxi
|
|
|
|
*/
|
2017-12-08 18:44:44 +00:00
|
|
|
# if defined(NTDDI_VERSION)
|
|
|
|
# error NTDDI_VERSION already defined.
|
|
|
|
# endif
|
2018-03-01 23:18:17 +00:00
|
|
|
# define NTDDI_VERSION NTDDI_WIN7
|
2017-12-08 18:44:44 +00:00
|
|
|
# if defined(_WIN32_WINNT)
|
|
|
|
# error _WIN32_WINNT already defined.
|
|
|
|
# endif
|
2018-03-01 23:18:17 +00:00
|
|
|
# define _WIN32_WINNT _WIN32_WINNT_WIN7
|
2013-11-29 09:45:44 +00:00
|
|
|
|
|
|
|
/* WpdPack/INclude/pcap/pcap.h checks for "#if defined(WIN32)" */
|
|
|
|
# ifndef WIN32
|
|
|
|
# define WIN32 1
|
|
|
|
# endif
|
|
|
|
|
2013-10-06 16:11:50 +00:00
|
|
|
# if !defined(QT_VERSION) || !defined(_SSIZE_T_DEFINED)
|
|
|
|
typedef int ssize_t;
|
|
|
|
# endif
|
2013-10-06 20:51:13 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Flex (v 2.5.35) uses this symbol to "exclude" unistd.h
|
|
|
|
*/
|
|
|
|
# define YY_NO_UNISTD_H
|
|
|
|
|
2013-10-06 16:11:50 +00:00
|
|
|
# define strncasecmp strnicmp
|
2013-10-06 20:51:13 +00:00
|
|
|
# define popen _popen
|
|
|
|
# define pclose _pclose
|
|
|
|
|
2013-10-06 16:11:50 +00:00
|
|
|
# ifndef __STDC__
|
|
|
|
# define __STDC__ 0
|
|
|
|
# endif
|
|
|
|
/* Use Unicode in Windows runtime functions. */
|
|
|
|
# define UNICODE 1
|
|
|
|
# define _UNICODE 1
|
2013-10-06 20:51:13 +00:00
|
|
|
|
2013-10-07 00:21:23 +00:00
|
|
|
# define NEED_STRPTIME_H 1
|
2013-10-04 21:59:18 +00:00
|
|
|
#endif
|
2016-03-14 19:03:11 +00:00
|
|
|
|
|
|
|
#include <ws_diag_control.h>
|
2017-12-08 18:44:44 +00:00
|
|
|
|
|
|
|
#endif /* __CONFIG_H__ */
|