diff options
author | unknown <sustrik@.(none)> | 2009-09-08 11:30:49 +0200 |
---|---|---|
committer | unknown <sustrik@.(none)> | 2009-09-08 11:30:49 +0200 |
commit | ec6822a477b89ac77afc90425bf36c4829dbef3d (patch) | |
tree | d8708a7d56fc2a1db9a163be795bc5b84955f48c /cpp | |
parent | b71c3005e68d02f800ff09bcacece79d167bff75 (diff) |
win port for c and cpp perf tests
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: |