mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
Python.h: Don't attempt to redefine NDEBUG if it's already defined.
Others: Remove redundant includes of assert.h.
This commit is contained in:
parent
b2c075bec4
commit
0d5dd68692
5 changed files with 2 additions and 4 deletions
|
@ -51,8 +51,10 @@
|
|||
#endif
|
||||
|
||||
#ifndef Py_DEBUG
|
||||
#ifndef NDEBUG
|
||||
#define NDEBUG 1
|
||||
#endif
|
||||
#endif
|
||||
#include <assert.h>
|
||||
|
||||
#include "pyport.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue