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:
Tim Peters 2001-07-15 18:38:47 +00:00
parent b2c075bec4
commit 0d5dd68692
5 changed files with 2 additions and 4 deletions

View file

@ -51,8 +51,10 @@
#endif
#ifndef Py_DEBUG
#ifndef NDEBUG
#define NDEBUG 1
#endif
#endif
#include <assert.h>
#include "pyport.h"