diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/zmq.hpp | 7 |
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: |