summaryrefslogtreecommitdiff
path: root/bindings/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/cpp')
-rw-r--r--bindings/cpp/zmq.hpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/bindings/cpp/zmq.hpp b/bindings/cpp/zmq.hpp
index cf7d347..5c0ba7c 100644
--- a/bindings/cpp/zmq.hpp
+++ b/bindings/cpp/zmq.hpp
@@ -41,14 +41,7 @@ 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
+ return zmq_strerror (errnum);
}
private: