diff Include/Python.h @ 18607:faf7f171a9f3 legacy-trunk

Python.h: Don't attempt to redefine NDEBUG if it's already defined. Others: Remove redundant includes of assert.h.
author Tim Peters <tim.peters@gmail.com>
date Sun, 15 Jul 2001 18:38:47 +0000
parents 730ab0bed6ab
children fdb36a0c7e6e
line wrap: on
line diff
--- a/Include/Python.h	Sun Jul 15 16:58:05 2001 +0000
+++ b/Include/Python.h	Sun Jul 15 18:38:47 2001 +0000
@@ -51,8 +51,10 @@
 #endif
 
 #ifndef Py_DEBUG
+#ifndef NDEBUG
 #define NDEBUG 1
 #endif
+#endif
 #include <assert.h>
 
 #include "pyport.h"