mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros
multiprocessing.h: remove unused MIN and MAX macros
This commit is contained in:
parent
e0b99ba140
commit
640c35ce13
9 changed files with 25 additions and 66 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue