diff options
-rw-r--r-- | capture-wpcap.c | 4 | ||||
-rw-r--r-- | config.nmake | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/capture-wpcap.c b/capture-wpcap.c index 26a7ca169b..876cd980d6 100644 --- a/capture-wpcap.c +++ b/capture-wpcap.c @@ -32,6 +32,8 @@ #include <glib.h> #include <gmodule.h> +#include <epan/strutil.h> + #include "capture_ifinfo.h" #include "capture-pcap-util.h" #include "capture-pcap-util-int.h" @@ -903,7 +905,7 @@ cant_get_if_list_error_message(const char *err_str) void get_compiled_pcap_version(GString *str) { - g_string_append(str, "with WinPcap (" PCAP_VERSION ")"); + g_string_append(str, "with WinPcap (" STRINGIFY(PCAP_VERSION) ")"); } /* diff --git a/config.nmake b/config.nmake index d08d20121c..4320d6fb96 100644 --- a/config.nmake +++ b/config.nmake @@ -771,7 +771,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_="" /DPCAP_VERSION="\"$(PCAP_VERSION)\"" $(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 |