(Quoting can be tricky ...)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40766
f5534014-38df-0310-8fa8-
9805f1628bb7
#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"
void
get_compiled_pcap_version(GString *str)
{
- g_string_append(str, "with WinPcap (" PCAP_VERSION ")");
+ g_string_append(str, "with WinPcap (" STRINGIFY(PCAP_VERSION) ")");
}
/*
!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