summaryrefslogtreecommitdiff
path: root/bindings/cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-09-22 13:00:05 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-09-22 13:00:05 +0200
commit3bd8f83f6d412221e4673ceb90b8ca7fa74ff2f1 (patch)
treef05b41eb05148157558ab858ef196f052af64700 /bindings/cpp
parenta0db7f6b811e687eda452a7de9f5db112f715544 (diff)
language bindings use zmq_strerror instead of strerror
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: