X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=blobdiff_plain;f=config.h.win32;h=5954d429ac70c8afa38fcd3fa1383a745d5ece27;hp=da44516f160f5d90e84b8fbceaa3077137301063;hb=279d0ab898de61ea418179026341dda23a3db4a2;hpb=2b188304647ac2bbef9e408f93316d8db611e4ec diff --git a/config.h.win32 b/config.h.win32 index da44516f16..5954d429ac 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -1,6 +1,25 @@ +/* $Id: config.h.win32,v 1.35 2002/06/23 10:32:11 guy Exp $ */ +/* config.h.win32 Generated manually. :-) */ /* config.h. Generated automatically by configure. */ /* config.h.in. Generated automatically from configure.in by autoheader. */ +/* 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 + /* Define if you have the ANSI C header files. */ #define STDC_HEADERS 1 @@ -8,10 +27,13 @@ byte first (like Motorola and SPARC, unlike Intel and VAX). */ /* #undef WORDS_BIGENDIAN */ -/* #undef HAVE_SA_LEN */ +/* Define if lex declares yytext as a char * by default, not a char[]. */ +/* #undef YYTEXT_POINTER */ -#define DATAFILE_DIR "/usr/local/etc" -#define PLUGIN_DIR "/usr/local/lib/ethereal/plugins/0.8" +#define HAVE_PLUGINS 1 +#define PLUGINS_NEED_ADDRESS_TABLE 1 + +/* #undef HAVE_SA_LEN */ /* #undef NEED_SNPRINTF_H */ @@ -19,61 +41,88 @@ #define NEED_MKSTEMP 1 +#define HAVE_LIBPCAP 1 + +/* #undef HAVE_UCD_SNMP */ + +/* 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 header file. */ +/* #undef HAVE_ARPA_INET_H */ + /* Define if you have the header file. */ #define HAVE_FCNTL_H 1 +/* Define if you have the header file. */ +/* #undef HAVE_ICONV_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_NETDB_H */ + /* Define if you have the header file. */ /* #define HAVE_NETINET_IN_H 1 */ /* Define if you have the header file. */ /* #undef HAVE_SNMP_SNMP_H */ +/* Define if you have the header file. */ +/* #undef HAVE_SNMP_VERSION_H */ + /* Define if you have the header file. */ #define HAVE_STDARG_H 1 +/* Define if you have the header file. */ +/* #undef HAVE_STDDEF_H */ + /* Define if you have the header file. */ /* #undef HAVE_SYS_IOCTL_H */ +/* Define if you have the header file. */ +/* #undef HAVE_SYS_SOCKET_H */ + /* Define if you have the header file. */ /* #undef HAVE_SYS_SOCKIO_H */ +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + /* Define if you have the header file. */ /* #define HAVE_SYS_TIME_H 1 */ -/* #undef HAVE_DIRENT_H 1 */ /* Define if you have the header file. */ #define HAVE_SYS_TYPES_H 1 -/* Define if you have the header file. */ -/* #undef HAVE_UCD_SNMP_SNMP_H */ +/* Define if you have the header file. */ +/* #undef HAVE_SYS_WAIT_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_UCD_SNMP_VERSION_H */ /* Define if you have the header file. */ /* #define HAVE_UNISTD_H 1 */ -/* Define if you have the pcap library (-lpcap). */ -#define HAVE_LIBPCAP 1 - /* Define if you have the z library (-lz). */ /*#define HAVE_LIBZ 1*/ -/* Name of package */ -#define PACKAGE "ethereal" - -/* Version number of package */ -#define VERSION "0.8.1" - #ifndef WIN32 #define WIN32 1 #endif #define HAVE_WINDOWS_H 1 -#define HAVE_WINSOCK_H 1 +#define HAVE_WINSOCK2_H 1 #define HAVE_DIRECT_H 1 #define HAVE_IO_H 1 +#define NEED_INET_ATON_H 1 #define NEED_INET_V6DEFS_H 1 #define NEED_GETOPT_H 1 +#define NEED_STRPTIME_H 1 #define snprintf _snprintf #define vsnprintf _vsnprintf +#define strcasecmp stricmp #define strncasecmp strnicmp #define open _open #define close _close @@ -84,5 +133,11 @@ /*#define ZLIB_DLL 1 #define _WINDOWS 1*/ -#define HAVE_PLUGINS 1 -#define PLUGINS_NEED_ADDRESS_TABLE 1 +/* Name of package */ +#define PACKAGE "ethereal" + +/* Version number of package */ +#define VERSION "@VERSION@" + +/* We don't know what the plugin installation directory will be. */ +#define PLUGIN_DIR NULL