Kaydet (Commit) 8df0e4ff authored tarafından Benjamin Peterson's avatar Benjamin Peterson

fix compile error on Windows

üst 80790287
...@@ -68,7 +68,7 @@ conn_recv_string(ConnectionObject *conn, char *buffer, ...@@ -68,7 +68,7 @@ conn_recv_string(ConnectionObject *conn, char *buffer,
memcpy(*newbuffer, buffer, length); memcpy(*newbuffer, buffer, length);
Py_BEGIN_ALLOW_THREADS Py_BEGIN_ALLOW_THREADS
ret = ReadFile(conn->handle, *newbuffer+length, left, &length, NULL) ret = ReadFile(conn->handle, *newbuffer+length, left, &length, NULL);
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
if (ret) { if (ret) {
assert(length == left); assert(length == left);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment