Commit b2c075be authored by Guido van Rossum's avatar Guido van Rossum

Define NDEBUG when Py_DEBUG undefined, to disable the assert macro.

parent 586b2e3f
...@@ -49,6 +49,10 @@ ...@@ -49,6 +49,10 @@
#ifdef HAVE_STDLIB_H #ifdef HAVE_STDLIB_H
#include <stdlib.h> #include <stdlib.h>
#endif #endif
#ifndef Py_DEBUG
#define NDEBUG 1
#endif
#include <assert.h> #include <assert.h>
#include "pyport.h" #include "pyport.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment