summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Include/Python.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 2393872..334116c 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -49,6 +49,10 @@
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
+
+#ifndef Py_DEBUG
+#define NDEBUG 1
+#endif
#include <assert.h>
#include "pyport.h"