Since we know the version of WinPcap we're compiling against, go ahead and display it instead of displaying "version unknown".
svn path=/trunk/; revision=40740
This commit is contained in:
parent
17885e4130
commit
6d213e71bd
|
@ -903,7 +903,7 @@ cant_get_if_list_error_message(const char *err_str)
|
|||
void
|
||||
get_compiled_pcap_version(GString *str)
|
||||
{
|
||||
g_string_append(str, "with WinPcap (version unknown)");
|
||||
g_string_append(str, "with WinPcap (" PCAP_VERSION ")");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -769,7 +769,7 @@ LOCAL_CFLAGS= $(LOCAL_CFLAGS) /analyze:WX-
|
|||
!ENDIF
|
||||
|
||||
#STANDARD_CFLAGS are flags used for *Wireshark* compiles (not stuff like lemon, etc)
|
||||
STANDARD_CFLAGS=-DHAVE_CONFIG_H -D_U_="" $(LOCAL_CFLAGS) $(WARNINGS_CFLAGS)
|
||||
STANDARD_CFLAGS=-DHAVE_CONFIG_H -D_U_="" /DPCAP_VERSION="\"$(PCAP_VERSION)\"" $(LOCAL_CFLAGS) $(WARNINGS_CFLAGS)
|
||||
|
||||
#Comment out the following if warnings are not to be treated as errors
|
||||
WARNINGS_ARE_ERRORS=-WX
|
||||
|
|
Loading…
Reference in New Issue