summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorunknown <sustrik@.(none)>2009-09-08 11:30:49 +0200
committerunknown <sustrik@.(none)>2009-09-08 11:30:49 +0200
commitec6822a477b89ac77afc90425bf36c4829dbef3d (patch)
treed8708a7d56fc2a1db9a163be795bc5b84955f48c /cpp
parentb71c3005e68d02f800ff09bcacece79d167bff75 (diff)
win port for c and cpp perf tests
Diffstat (limited to 'cpp')
-rw-r--r--cpp/zmq.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/zmq.hpp b/cpp/zmq.hpp
index ffdea7b..471d1d8 100644
--- a/cpp/zmq.hpp
+++ b/cpp/zmq.hpp
@@ -48,7 +48,14 @@ namespace zmq
virtual const char *what () const throw ()
{
+#if defined _MSC_VER
+#pragma warning (push)
+#pragma warning (disable:4996)
+#endif
return strerror (errnum);
+#if defined _MSC_VER
+#pragma warning (pop)
+#endif
}
private: