summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h2
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"