diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 23:14:37 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 23:14:37 +0200 |
commit | 640c35ce135d71c6aafa13bb5985150f680416cc (patch) | |
tree | bec20a433c21cf6099478fdc91ea116934c21460 /Modules/_multiprocessing | |
parent | Close #17932: Fix an integer overflow issue on Windows 64-bit in iterators: (diff) | |
download | cpython-640c35ce135d71c6aafa13bb5985150f680416cc.tar.gz cpython-640c35ce135d71c6aafa13bb5985150f680416cc.tar.bz2 cpython-640c35ce135d71c6aafa13bb5985150f680416cc.zip |
Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros
multiprocessing.h: remove unused MIN and MAX macros
Diffstat (limited to 'Modules/_multiprocessing')
-rw-r--r-- | Modules/_multiprocessing/multiprocessing.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Modules/_multiprocessing/multiprocessing.h b/Modules/_multiprocessing/multiprocessing.h index 0759a80e44b..68a59844b9a 100644 --- a/Modules/_multiprocessing/multiprocessing.h +++ b/Modules/_multiprocessing/multiprocessing.h @@ -99,13 +99,4 @@ PyObject *_PyMp_SetError(PyObject *Type, int num); extern PyTypeObject _PyMp_SemLockType; -/* - * Miscellaneous - */ - -#ifndef MIN -# define MIN(x, y) ((x) < (y) ? x : y) -# define MAX(x, y) ((x) > (y) ? x : y) -#endif - #endif /* MULTIPROCESSING_H */ |