Kaydet (Commit) 5defb173 authored tarafından Tim Peters's avatar Tim Peters

Stop defining NDEBUG in Python.h, because it can interfere with

extensions that #include Python.h.  See (rejected) patch 487634 for
more detail.  I'll open a new bug report for the rest needed here.
üst ecd8157a
...@@ -50,11 +50,10 @@ ...@@ -50,11 +50,10 @@
#include <stdlib.h> #include <stdlib.h>
#endif #endif
#ifndef Py_DEBUG /* CAUTION: Build setups should ensure that NDEBUG is defined on the
#ifndef NDEBUG * compiler command line when building Python in release mode; else
#define NDEBUG 1 * assert() calls won't be removed.
#endif */
#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