mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-26 18:42:43 +01:00
win build for python
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user