aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2019-09-07 12:44:36 +0500
committerSerhiy Storchaka <storchaka@gmail.com>2019-09-07 10:44:36 +0300
commit32f825393e5836ab71de843596379fa3f9e23c7a (patch)
tree448473a748f6b8ffe147bcc813bf55ef652c0f7c /Modules/_multiprocessing
parentbpo-20806: Reference both times(2) and times(3) and link to MSDN. (GH-15479) (diff)
downloadcpython-32f825393e5836ab71de843596379fa3f9e23c7a.tar.gz
cpython-32f825393e5836ab71de843596379fa3f9e23c7a.tar.bz2
cpython-32f825393e5836ab71de843596379fa3f9e23c7a.zip
Remove some unused defines in multiprocessing.h. (GH-15661)
It looks like they are unused since 87cf220972c9cb400ddcd577962883dcc5dca51a.
Diffstat (limited to 'Modules/_multiprocessing')
-rw-r--r--Modules/_multiprocessing/multiprocessing.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/Modules/_multiprocessing/multiprocessing.h b/Modules/_multiprocessing/multiprocessing.h
index 512bc17f23d..fe78135d466 100644
--- a/Modules/_multiprocessing/multiprocessing.h
+++ b/Modules/_multiprocessing/multiprocessing.h
@@ -27,14 +27,6 @@
# include <semaphore.h>
typedef sem_t *SEM_HANDLE;
# endif
-# define HANDLE int
-# define SOCKET int
-# define BOOL int
-# define UINT32 uint32_t
-# define INT32 int32_t
-# define TRUE 1
-# define FALSE 0
-# define INVALID_HANDLE_VALUE (-1)
#endif
/*
@@ -72,8 +64,6 @@
# define T_HANDLE T_POINTER
# define F_SEM_HANDLE F_HANDLE
# define T_SEM_HANDLE T_HANDLE
-# define F_DWORD "k"
-# define T_DWORD T_ULONG
#else
# define F_HANDLE "i"
# define T_HANDLE T_INT