2002-03-12 10:37:04 +00:00
|
|
|
/* $Id: config.h.win32,v 1.34 2002/03/12 10:37:01 guy Exp $ */
|
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
|
|
|
|
|
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[]. */
|
|
|
|
/* #undef YYTEXT_POINTER */
|
|
|
|
|
|
|
|
#define HAVE_PLUGINS 1
|
|
|
|
#define PLUGINS_NEED_ADDRESS_TABLE 1
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
/* #undef HAVE_SA_LEN */
|
|
|
|
|
|
|
|
/* #undef NEED_SNPRINTF_H */
|
|
|
|
|
|
|
|
/* #undef NEED_STRERROR_H */
|
|
|
|
|
2000-01-15 00:23:13 +00:00
|
|
|
#define NEED_MKSTEMP 1
|
1999-12-15 08:05:53 +00:00
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
#define HAVE_LIBPCAP 1
|
|
|
|
|
2002-03-12 10:37:04 +00:00
|
|
|
/* #undef HAVE_UCD_SNMP */
|
|
|
|
|
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. */
|
|
|
|
/* #undef HAVE_ICONV_H */
|
|
|
|
|
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 */
|
|
|
|
|
|
|
|
/* Define if you have the <ucd-snmp/version.h> header file. */
|
|
|
|
/* #undef HAVE_UCD_SNMP_VERSION_H */
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
/* Define if you have the <unistd.h> header file. */
|
|
|
|
/* #define HAVE_UNISTD_H 1 */
|
|
|
|
|
2000-01-15 00:23:13 +00:00
|
|
|
/* Define if you have the z library (-lz). */
|
|
|
|
/*#define HAVE_LIBZ 1*/
|
|
|
|
|
|
|
|
#ifndef WIN32
|
|
|
|
#define WIN32 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define HAVE_WINDOWS_H 1
|
|
|
|
#define HAVE_WINSOCK_H 1
|
|
|
|
#define HAVE_DIRECT_H 1
|
|
|
|
#define HAVE_IO_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-01-15 00:23:13 +00:00
|
|
|
#define snprintf _snprintf
|
|
|
|
#define vsnprintf _vsnprintf
|
2000-07-05 17:24:29 +00:00
|
|
|
#define strcasecmp stricmp
|
2000-01-15 00:23:13 +00:00
|
|
|
#define strncasecmp strnicmp
|
|
|
|
#define open _open
|
|
|
|
#define close _close
|
|
|
|
#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 */
|
|
|
|
#define PACKAGE "ethereal"
|
|
|
|
|
|
|
|
/* 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
|