diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-07-15 18:38:47 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-07-15 18:38:47 (GMT) |
commit | 0d5dd68692e8e7a4ebe16cf0902de6a778ea5200 (patch) | |
tree | fd1db4976fcd7090a2230d43012f37d1ede1afb4 /Include/Python.h | |
parent | b2c075bec452f66155d447ed9a1ae1a6479502a8 (diff) | |
download | cpython-0d5dd68692e8e7a4ebe16cf0902de6a778ea5200.zip cpython-0d5dd68692e8e7a4ebe16cf0902de6a778ea5200.tar.gz cpython-0d5dd68692e8e7a4ebe16cf0902de6a778ea5200.tar.bz2 |
Python.h: Don't attempt to redefine NDEBUG if it's already defined.
Others: Remove redundant includes of assert.h.
Diffstat (limited to 'Include/Python.h')
-rw-r--r-- | Include/Python.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h index 334116c..5d91125 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -51,8 +51,10 @@ #endif #ifndef Py_DEBUG +#ifndef NDEBUG #define NDEBUG 1 #endif +#endif #include <assert.h> #include "pyport.h" |