diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-22 13:00:05 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-22 13:00:05 +0200 |
commit | 3bd8f83f6d412221e4673ceb90b8ca7fa74ff2f1 (patch) | |
tree | f05b41eb05148157558ab858ef196f052af64700 /bindings/cpp | |
parent | a0db7f6b811e687eda452a7de9f5db112f715544 (diff) |
language bindings use zmq_strerror instead of strerror
Diffstat (limited to 'bindings/cpp')
-rw-r--r-- | bindings/cpp/zmq.hpp | 9 |
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: |