summaryrefslogtreecommitdiffstats
path: root/Modules/_multiprocessing
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2009-01-20 00:16:38 (GMT)
committerJesse Noller <jnoller@gmail.com>2009-01-20 00:16:38 (GMT)
commite8b619c152b67a1e0926bc50141d92a601dccd46 (patch)
treeccc6d18d854cc5265e50baba1d4fdba79be62206 /Modules/_multiprocessing
parent1f01cd013ff153b92dc7fed13ace419a5d024da7 (diff)
downloadcpython-e8b619c152b67a1e0926bc50141d92a601dccd46.zip
cpython-e8b619c152b67a1e0926bc50141d92a601dccd46.tar.gz
cpython-e8b619c152b67a1e0926bc50141d92a601dccd46.tar.bz2
issue 5002: fix windows warning that I intro'ed with r68768
Diffstat (limited to 'Modules/_multiprocessing')
-rw-r--r--Modules/_multiprocessing/pipe_connection.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/_multiprocessing/pipe_connection.c b/Modules/_multiprocessing/pipe_connection.c
index ad16fc8..27e79dd 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;