summaryrefslogtreecommitdiff
path: root/python/pyzmq.cpp
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-08 16:55:28 +0200
committermalosek <malosek@fastmq.com>2009-09-08 16:55:28 +0200
commitcb78991f8e20fa35d99fa209be659c0aed59de47 (patch)
treec106da5c6b6e5f5e3801286367629706db592311 /python/pyzmq.cpp
parent734a62c12d2e2fb009ccf97d7d188060a474cc17 (diff)
parentd3fb9f90af73a46e02b7e8780a8db95a31360d56 (diff)
Merge branch 'master' of git@github.com:sustrik/zeromq2
Diffstat (limited to 'python/pyzmq.cpp')
-rw-r--r--python/pyzmq.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/pyzmq.cpp b/python/pyzmq.cpp
index d1f5457..a373988 100644
--- a/python/pyzmq.cpp
+++ b/python/pyzmq.cpp
@@ -25,6 +25,11 @@
#include "../c/zmq.h"
+#if defined _MSC_VER
+#pragma warning (push)
+#pragma warning (disable:4996)
+#endif
+
struct context_t
{
PyObject_HEAD
@@ -489,3 +494,7 @@ PyMODINIT_FUNC initlibpyzmq ()
PyDict_SetItemString (dict, "IDENTITY", t);
Py_DECREF (t);
}
+
+#if defined _MSC_VER
+#pragma warning (pop)
+#endif