summaryrefslogtreecommitdiff
path: root/foreign
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.com>2009-09-14 17:04:57 +0200
committerMartin Sustrik <sustrik@fastmq.com>2009-09-14 17:04:57 +0200
commitf7ad4a203ad184d97002111f4ffb8bfe6a8f7c01 (patch)
tree79780533d3b39198e74e0dde95d1d96b6100543a /foreign
parent6cfd175e31eec44d215bbc237f2f1d94bfeac06d (diff)
forwarder device compilable on windows
Diffstat (limited to 'foreign')
-rw-r--r--foreign/xmlParser/xmlParser.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/foreign/xmlParser/xmlParser.cpp b/foreign/xmlParser/xmlParser.cpp
index 2414c01..b9ebe54 100644
--- a/foreign/xmlParser/xmlParser.cpp
+++ b/foreign/xmlParser/xmlParser.cpp
@@ -78,10 +78,16 @@
*
****************************************************************************
*/
+
+#if defined _MSC_VER
+#pragma warning (push)
+#pragma warning (disable:4996)
+#endif
+
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
-#include <zmq/xmlParser.hpp>
+#include "xmlParser.hpp"
#ifdef _XMLWINDOWS
//#ifdef _DEBUG
//#define _CRTDBG_MAP_ALLOC
@@ -2886,3 +2892,7 @@ unsigned char *XMLParserBase64Tool::decode(XMLCSTR data, int *outlen, XMLError *
return (unsigned char*)buf;
}
+#if defined _MSC_VER
+#pragma warning (pop)
+#endif
+