mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Define NDEBUG when Py_DEBUG undefined, to disable the assert macro.
This commit is contained in:
parent
586b2e3f3d
commit
b2c075bec4
1 changed files with 4 additions and 0 deletions
|
|
@ -49,6 +49,10 @@
|
|||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifndef Py_DEBUG
|
||||
#define NDEBUG 1
|
||||
#endif
|
||||
#include <assert.h>
|
||||
|
||||
#include "pyport.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue