Define NDEBUG when Py_DEBUG undefined, to disable the assert macro.
This commit is contained in:
parent
586b2e3f3d
commit
b2c075bec4
|
@ -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…
Reference in New Issue