aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2007-03-29 08:10:29 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2007-03-29 08:10:29 +0000
commit9b67c618c53a38651753e10cf6a2520669c97fee (patch)
treed4405631c50b2c7f6a082971ac9d29a06150bbb6 /tools
parent523ac13b38a250e8da6a792ae58277673dce51c8 (diff)
Manually add the patch mentioned in
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21262 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21269 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools')
-rw-r--r--tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index 51e3933013..7490b8267c 100644
--- a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@ -916,6 +916,16 @@ sub Parse($$$$)
$res{headers} .= "#ifdef HAVE_CONFIG_H\n";
$res{headers} .= "#include \"config.h\"\n";
$res{headers} .= "#endif\n\n";
+
+ $res{headers} .= "#ifdef _MSC_VER\n";
+ $res{headers} .= "#pragma warning(disable:4005)\n";
+ $res{headers} .= "#pragma warning(disable:4013)\n";
+ $res{headers} .= "#pragma warning(disable:4018)\n";
+ $res{headers} .= "#pragma warning(disable:4101)\n";
+ $res{headers} .= "#endif\n\n";
+
+
+
$res{headers} .= "#include <glib.h>\n";
$res{headers} .= "#include <string.h>\n";
$res{headers} .= "#include <epan/packet.h>\n\n";