2004-07-18 00:24:25 +00:00
|
|
|
/* $Id$ */
|
2000-06-07 22:57:45 +00:00
|
|
|
/* config.h.win32 Generated manually. :-) */
|
1999-07-13 02:53:26 +00:00
|
|
|
/* config.h. Generated automatically by configure. */
|
|
|
|
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
|
|
|
|
2000-11-22 07:20:27 +00:00
|
|
|
/* Generated Bison and Flex files test whether __STDC__ is defined
|
|
|
|
in order to check whether to use ANSI C features such as "const".
|
|
|
|
|
|
|
|
GCC defines it as 1 even if extensions that render the implementation
|
|
|
|
non-conformant are enabled; Sun's C compiler (and, I think, other
|
|
|
|
AT&T-derived C compilers) define it as 0 if extensions that render
|
|
|
|
the implementation non-conformant are enabled; Microsoft Visual C++
|
|
|
|
6.0 doesn't define it at all if extensions that render the implementation
|
|
|
|
non-conformant are enabled.
|
|
|
|
|
|
|
|
We define it as 0 here, so that those generated files will use
|
|
|
|
those features (and thus not get type warnings when compiled with
|
|
|
|
MSVC++). */
|
|
|
|
#ifndef __STDC__
|
|
|
|
#define __STDC__ 0
|
|
|
|
#endif
|
|
|
|
|
2006-03-08 20:55:32 +00:00
|
|
|
/* Use Unicode in Windows runtime functions. */
|
|
|
|
#define UNICODE 1
|
|
|
|
#define _UNICODE 1
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
/* Define if you have the ANSI C header files. */
|
|
|
|
#define STDC_HEADERS 1
|
|
|
|
|
|
|
|
/* Define if your processor stores words with the most significant
|
|
|
|
byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
|
|
|
/* #undef WORDS_BIGENDIAN */
|
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
/* Define if lex declares yytext as a char * by default, not a char[]. */
|
2004-05-06 20:48:36 +00:00
|
|
|
#define YYTEXT_POINTER 1
|
2000-10-17 09:25:37 +00:00
|
|
|
|
|
|
|
#define HAVE_PLUGINS 1
|
|
|
|
#define PLUGINS_NEED_ADDRESS_TABLE 1
|
|
|
|
|
2006-05-31 00:23:01 +00:00
|
|
|
/* Plugins can also use the import library of libwireshark.dll instead
|
2004-09-29 19:30:10 +00:00
|
|
|
of the old API. In that case we undefine PLUGINS_NEED_ADDRESS_TABLE
|
|
|
|
for the plugin. We don't undefine PLUGINS_NEED_ADDRESS_TABLE globally.
|
2007-01-26 01:34:29 +00:00
|
|
|
Thus Wireshark will be still able to load plugins using the old API.
|
2006-05-31 00:23:01 +00:00
|
|
|
The macro HAVE_WIN32_LIBWIRESHARK_LIB has to be defined in plugin's
|
2004-09-29 19:30:10 +00:00
|
|
|
makefile.nmake. A template is available in doc/README.plugins */
|
2006-05-31 00:23:01 +00:00
|
|
|
#ifdef HAVE_WIN32_LIBWIRESHARK_LIB
|
2004-09-29 19:30:10 +00:00
|
|
|
#undef PLUGINS_NEED_ADDRESS_TABLE
|
|
|
|
#endif
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
/* #undef HAVE_SA_LEN */
|
|
|
|
|
|
|
|
/* #undef NEED_STRERROR_H */
|
|
|
|
|
2000-01-15 00:23:13 +00:00
|
|
|
#define NEED_MKSTEMP 1
|
1999-12-15 08:05:53 +00:00
|
|
|
|
2003-10-10 09:48:54 +00:00
|
|
|
@HAVE_LIBPCAP@
|
2006-05-21 21:32:04 +00:00
|
|
|
@HAVE_PCAP_BREAKLOOP@
|
2003-10-10 09:48:54 +00:00
|
|
|
@HAVE_PCAP_FINDALLDEVS@
|
2004-09-23 17:54:49 +00:00
|
|
|
@HAVE_PCAP_DATALINK_NAME_TO_VAL@
|
|
|
|
@HAVE_PCAP_DATALINK_VAL_TO_NAME@
|
2003-10-10 09:48:54 +00:00
|
|
|
@WPCAP_CONSTIFIED@
|
2006-05-31 00:23:01 +00:00
|
|
|
@HAVE_LIBWIRESHARKDLL@
|
2004-05-09 10:03:41 +00:00
|
|
|
|
2006-08-16 18:01:25 +00:00
|
|
|
@HAVE_AIRPCAP@
|
2006-12-06 20:29:54 +00:00
|
|
|
@HAVE_AIRPDCAP@
|
2006-08-16 18:01:25 +00:00
|
|
|
|
2005-05-21 09:59:49 +00:00
|
|
|
/* availability of pcap_freecode() is handled at runtime */
|
|
|
|
#define HAVE_PCAP_FREECODE 1
|
|
|
|
|
2004-05-09 10:03:41 +00:00
|
|
|
/* define macro for importing variables from an dll
|
2006-05-31 00:23:01 +00:00
|
|
|
* it depends on HAVE_LIBWIRESHARK and _NEED_VAR_IMPORT_
|
2004-05-09 10:03:41 +00:00
|
|
|
*/
|
2006-05-31 00:23:01 +00:00
|
|
|
#if defined (_NEED_VAR_IMPORT_) && defined (HAVE_LIBWIRESHARKDLL)
|
2006-06-20 18:30:54 +00:00
|
|
|
# define WS_VAR_IMPORT __declspec(dllimport) extern
|
2004-05-09 10:03:41 +00:00
|
|
|
#else
|
2006-06-20 18:30:54 +00:00
|
|
|
# define WS_VAR_IMPORT extern
|
2004-05-09 10:03:41 +00:00
|
|
|
#endif
|
2000-10-17 09:25:37 +00:00
|
|
|
|
2006-09-11 22:47:57 +00:00
|
|
|
@HAVE_NET_SNMP@
|
2002-03-12 10:37:04 +00:00
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
/* Define if you have the gethostbyname2 function. */
|
|
|
|
/* #undef HAVE_GETHOSTBYNAME2 */
|
|
|
|
|
|
|
|
/* Define if you have the getprotobynumber function. */
|
|
|
|
/* #undef HAVE_GETPROTOBYNUMBER */
|
|
|
|
|
|
|
|
/* Define if you have the <arpa/inet.h> header file. */
|
|
|
|
/* #undef HAVE_ARPA_INET_H */
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
/* Define if you have the <fcntl.h> header file. */
|
|
|
|
#define HAVE_FCNTL_H 1
|
|
|
|
|
2001-11-02 10:01:00 +00:00
|
|
|
/* Define if you have the <iconv.h> header file. */
|
2006-07-18 15:54:03 +00:00
|
|
|
/* #undef HAVE_ICONV */
|
2001-11-02 10:01:00 +00:00
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
/* Define if you have the <netdb.h> header file. */
|
|
|
|
/* #undef HAVE_NETDB_H */
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
/* Define if you have the <netinet/in.h> header file. */
|
|
|
|
/* #define HAVE_NETINET_IN_H 1 */
|
|
|
|
|
|
|
|
/* Define if you have the <snmp/snmp.h> header file. */
|
|
|
|
/* #undef HAVE_SNMP_SNMP_H */
|
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
/* Define if you have the <snmp/version.h> header file. */
|
|
|
|
/* #undef HAVE_SNMP_VERSION_H */
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
/* Define if you have the <stdarg.h> header file. */
|
|
|
|
#define HAVE_STDARG_H 1
|
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
/* Define if you have the <stddef.h> header file. */
|
|
|
|
/* #undef HAVE_STDDEF_H */
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
/* Define if you have the <sys/ioctl.h> header file. */
|
|
|
|
/* #undef HAVE_SYS_IOCTL_H */
|
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
/* Define if you have the <sys/socket.h> header file. */
|
|
|
|
/* #undef HAVE_SYS_SOCKET_H */
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
/* Define if you have the <sys/sockio.h> header file. */
|
|
|
|
/* #undef HAVE_SYS_SOCKIO_H */
|
|
|
|
|
2000-07-31 15:55:46 +00:00
|
|
|
/* Define if you have the <sys/stat.h> header file. */
|
|
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
/* Define if you have the <sys/time.h> header file. */
|
|
|
|
/* #define HAVE_SYS_TIME_H 1 */
|
|
|
|
|
|
|
|
/* Define if you have the <sys/types.h> header file. */
|
|
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
/* Define if you have the <sys/wait.h> header file. */
|
|
|
|
/* #undef HAVE_SYS_WAIT_H */
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
/* Define if you have the <unistd.h> header file. */
|
|
|
|
/* #define HAVE_UNISTD_H 1 */
|
|
|
|
|
2004-06-19 00:07:23 +00:00
|
|
|
/* Define if <inttypes.h> defines PRI[doxu]64 macros */
|
|
|
|
/* #define INTTYPES_H_DEFINES_FORMATS */
|
|
|
|
|
|
|
|
/* Format for printing 64-bit signed decimal numbers */
|
|
|
|
#ifndef PRId64
|
|
|
|
#ifdef _MSC_EXTENSIONS
|
2004-06-20 09:31:48 +00:00
|
|
|
#define PRId64 "I64d"
|
2004-06-19 00:07:23 +00:00
|
|
|
#else /* _MSC_EXTENSIONS */
|
|
|
|
#define PRId64 "lld"
|
|
|
|
#endif /* _MSC_EXTENSIONS */
|
|
|
|
#endif /* PRId64 */
|
|
|
|
|
|
|
|
/* Format for printing 64-bit unsigned octal numbers */
|
|
|
|
#ifndef PRIo64
|
|
|
|
#ifdef _MSC_EXTENSIONS
|
2004-06-20 09:31:48 +00:00
|
|
|
#define PRIo64 "I64o"
|
2004-06-19 00:07:23 +00:00
|
|
|
#else /* _MSC_EXTENSIONS */
|
|
|
|
#define PRIo64 "llo"
|
|
|
|
#endif /* _MSC_EXTENSIONS */
|
|
|
|
#endif /* PRIo64 */
|
|
|
|
|
|
|
|
/* Format for printing 64-bit unsigned decimal numbers */
|
|
|
|
#ifndef PRIu64
|
|
|
|
#ifdef _MSC_EXTENSIONS
|
2004-06-20 09:31:48 +00:00
|
|
|
#define PRIu64 "I64u"
|
2004-06-19 00:07:23 +00:00
|
|
|
#else /* _MSC_EXTENSIONS */
|
|
|
|
#define PRIu64 "llu"
|
|
|
|
#endif /* _MSC_EXTENSIONS */
|
|
|
|
#endif /* PRIu64 */
|
|
|
|
|
2005-09-15 06:04:33 +00:00
|
|
|
/* Formats for printing 64-bit unsigned hexadecimal numbers */
|
2006-08-12 21:06:24 +00:00
|
|
|
/* XXX - it seems that GLib has problems with the MSVC like I64x.
|
|
|
|
As we use GLib's g_sprintf and alike, it should be safe to use
|
|
|
|
llx everywhere now, making the macros pretty useless. For details see:
|
|
|
|
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1025 */
|
2005-09-15 06:04:33 +00:00
|
|
|
#ifndef PRIx64
|
2004-06-19 00:07:23 +00:00
|
|
|
#ifdef _MSC_EXTENSIONS
|
2006-08-12 21:06:24 +00:00
|
|
|
/*#define PRIx64 "I64x"*/
|
|
|
|
#define PRIx64 "llx"
|
2004-06-19 00:07:23 +00:00
|
|
|
#else /* _MSC_EXTENSIONS */
|
|
|
|
#define PRIx64 "llx"
|
|
|
|
#endif /* _MSC_EXTENSIONS */
|
2005-09-15 06:04:33 +00:00
|
|
|
#endif /* PRIx64 */
|
|
|
|
|
|
|
|
#ifndef PRIX64
|
|
|
|
#ifdef _MSC_EXTENSIONS
|
2006-08-12 21:06:24 +00:00
|
|
|
/*#define PRIX64 "I64X"*/
|
|
|
|
#define PRIX64 "llX"
|
2005-09-15 06:04:33 +00:00
|
|
|
#else /* _MSC_EXTENSIONS */
|
|
|
|
#define PRIX64 "llX"
|
|
|
|
#endif /* _MSC_EXTENSIONS */
|
|
|
|
#endif /* PRIX64 */
|
2004-06-19 00:07:23 +00:00
|
|
|
|
2000-01-15 00:23:13 +00:00
|
|
|
/* Define if you have the z library (-lz). */
|
2003-11-07 23:27:13 +00:00
|
|
|
@HAVE_LIBZ@
|
2000-01-15 00:23:13 +00:00
|
|
|
|
2003-06-02 18:40:02 +00:00
|
|
|
/* Define to use GNU ADNS library */
|
2003-06-12 09:45:42 +00:00
|
|
|
@HAVE_GNU_ADNS@
|
2003-06-02 18:40:02 +00:00
|
|
|
#define ADNS_JGAA_WIN32 1
|
|
|
|
|
2003-12-07 00:04:32 +00:00
|
|
|
/* Define to use the PCRE library */
|
|
|
|
@HAVE_PCRE@
|
|
|
|
|
2004-10-15 15:36:12 +00:00
|
|
|
/* Define to use the Nettle library */
|
|
|
|
@HAVE_NETTLE@
|
|
|
|
|
2006-03-01 21:31:07 +00:00
|
|
|
/* Define to use the gnutls library */
|
2006-09-12 17:34:41 +00:00
|
|
|
@HAVE_LIBGNUTLS@
|
2006-02-07 10:26:20 +00:00
|
|
|
|
2006-08-09 02:00:05 +00:00
|
|
|
/* Define to use the libgcrypt library */
|
|
|
|
@HAVE_LIBGCRYPT@
|
|
|
|
|
2006-08-05 04:32:57 +00:00
|
|
|
/* Define to use mit kerberos for decryption of kerberos/sasl/dcerpc */
|
|
|
|
@HAVE_KFW@
|
|
|
|
#ifdef HAVE_MIT_KERBEROS
|
|
|
|
#define HAVE_KERBEROS
|
|
|
|
#endif
|
|
|
|
|
2006-03-01 21:31:07 +00:00
|
|
|
/* Define to use Lua */
|
|
|
|
@HAVE_LUA@
|
2006-03-15 22:30:28 +00:00
|
|
|
@HAVE_LUA_5_1@
|
2006-03-01 21:31:07 +00:00
|
|
|
|
2006-08-30 21:51:31 +00:00
|
|
|
/* Define to use Portaudio library */
|
2006-09-12 18:43:56 +00:00
|
|
|
@HAVE_LIBPORTAUDIO@
|
2006-09-05 20:35:41 +00:00
|
|
|
/* Define version of of the Portaudio library API */
|
2006-09-12 18:43:56 +00:00
|
|
|
@PORTAUDIO_API_1@
|
2006-08-30 21:51:31 +00:00
|
|
|
|
2000-01-15 00:23:13 +00:00
|
|
|
#ifndef WIN32
|
|
|
|
#define WIN32 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define HAVE_WINDOWS_H 1
|
2002-06-23 10:32:36 +00:00
|
|
|
#define HAVE_WINSOCK2_H 1
|
2000-01-15 00:23:13 +00:00
|
|
|
#define HAVE_DIRECT_H 1
|
Apparently, on systems with glibc 2.2, "inet_aton()" is declared in
<arpa/inet.h>, but is, in some fashion, declared differently from the
way we declare it in "inet_v6defs.h", but "inet_ntop()" isn't defined,
so we include "inet_v6defs.h" in "inet_pton.c", which causes
"inet_pton.c" not to compile as we get a collision between the two
declarations.
Move the declaration of "inet_aton()" to "inet_aton.h", define
"NEED_INET_ATON_H" iff we didn't find "inet_aton()" in the system
libraries, and include "inet_aton.h" in the callers of "inet_aton()" iff
"NEED_INET_ATON_H" is defined, so that it doesn't get declared by us if
"inet_aton()" is defined by a system library (which hopefully means it's
declared in <arpa/inet.h> instead).
svn path=/trunk/; revision=2137
2000-07-14 07:11:53 +00:00
|
|
|
#define NEED_INET_ATON_H 1
|
2000-01-15 00:23:13 +00:00
|
|
|
#define NEED_INET_V6DEFS_H 1
|
2000-03-28 20:20:11 +00:00
|
|
|
#define NEED_GETOPT_H 1
|
2001-06-02 08:07:47 +00:00
|
|
|
#define NEED_STRPTIME_H 1
|
2000-07-05 17:24:29 +00:00
|
|
|
#define strcasecmp stricmp
|
2000-01-15 00:23:13 +00:00
|
|
|
#define strncasecmp strnicmp
|
|
|
|
#define popen _popen
|
|
|
|
#define pclose _pclose
|
|
|
|
|
|
|
|
/* Needed for zlib, according to http://www.winimage.com/zLibDll/ */
|
|
|
|
/*#define ZLIB_DLL 1
|
|
|
|
#define _WINDOWS 1*/
|
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
/* Name of package */
|
2006-05-31 22:34:21 +00:00
|
|
|
#define PACKAGE "wireshark"
|
2000-10-17 09:25:37 +00:00
|
|
|
|
|
|
|
/* Version number of package */
|
2001-04-05 04:39:29 +00:00
|
|
|
#define VERSION "@VERSION@"
|
2000-10-17 09:25:37 +00:00
|
|
|
|
2001-08-18 23:21:31 +00:00
|
|
|
/* We don't know what the plugin installation directory will be. */
|
|
|
|
#define PLUGIN_DIR NULL
|
2005-07-29 21:55:45 +00:00
|
|
|
|
|
|
|
/* We shouldn't need this under Windows but we'll define it anyway. */
|
|
|
|
#define HTML_VIEWER "mozilla"
|