From: Jesse Noller Date: Tue, 20 Jan 2009 00:16:38 +0000 (+0000) Subject: issue 5002: fix windows warning that I intro'ed with r68768 X-Git-Tag: v2.7a1~2244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8b619c152b67a1e0926bc50141d92a601dccd46;p=thirdparty%2FPython%2Fcpython.git issue 5002: fix windows warning that I intro'ed with r68768 --- diff --git a/Modules/_multiprocessing/pipe_connection.c b/Modules/_multiprocessing/pipe_connection.c index ad16fc89d31e..27e79dda7d4a 100644 --- a/Modules/_multiprocessing/pipe_connection.c +++ b/Modules/_multiprocessing/pipe_connection.c @@ -83,10 +83,8 @@ conn_recv_string(ConnectionObject *conn, char *buffer, * Check whether any data is available for reading */ -#define conn_poll(conn, timeout) conn_poll_save(conn, timeout, _save) - static int -conn_poll_save(ConnectionObject *conn, double timeout, PyThreadState *_save) +conn_poll(ConnectionObject *conn, double timeout, PyThreadState *_save) { DWORD bytes, deadline, delay; int difference, res;