summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-12-05 22:44:45 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-12-05 22:44:45 (GMT)
commit9145be431023f74bd9532590e271395c1381aaf1 (patch)
tree2f1b41be806f27974e463fcfc11a962cc8f13ebc
parenta16433b14edc4d4c08c97262609a3e8821ff1f6e (diff)
downloadcpython-9145be431023f74bd9532590e271395c1381aaf1.zip
cpython-9145be431023f74bd9532590e271395c1381aaf1.tar.gz
cpython-9145be431023f74bd9532590e271395c1381aaf1.tar.bz2
Define NDEBUG if Py_DEBUG isn't defined.
-rw-r--r--Mac/mwerks/mwerks_carbon_config.h3
-rw-r--r--Mac/mwerks/mwerks_carbonplugin_config.h3
-rw-r--r--Mac/mwerks/mwerks_nonshared_config.h3
-rw-r--r--Mac/mwerks/mwerks_nscarbon_config.h3
-rw-r--r--Mac/mwerks/mwerks_plugin_config.h3
-rw-r--r--Mac/mwerks/mwerks_shared_config.h3
-rw-r--r--Mac/mwerks/mwerks_shcarbon_config.h3
-rw-r--r--Mac/mwerks/mwerks_small_config.h3
-rw-r--r--Mac/mwerks/mwerks_thrcarbonsm_config.h3
-rw-r--r--Mac/mwerks/mwerks_threadsmall_config.h3
-rw-r--r--Mac/mwerks/mwerks_tkplugin_config.h3
11 files changed, 33 insertions, 0 deletions
diff --git a/Mac/mwerks/mwerks_carbon_config.h b/Mac/mwerks/mwerks_carbon_config.h
index 491cf63..bebdfe1 100644
--- a/Mac/mwerks/mwerks_carbon_config.h
+++ b/Mac/mwerks/mwerks_carbon_config.h
@@ -42,3 +42,6 @@
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
#include <ansi_prefix.mac.h>
#endif
+#ifndef Py_DEBUG
+#define NDEBUG
+#endif
diff --git a/Mac/mwerks/mwerks_carbonplugin_config.h b/Mac/mwerks/mwerks_carbonplugin_config.h
index de94aa8..6a10716 100644
--- a/Mac/mwerks/mwerks_carbonplugin_config.h
+++ b/Mac/mwerks/mwerks_carbonplugin_config.h
@@ -18,3 +18,6 @@
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
#include <ansi_prefix.mac.h>
#endif
+#ifndef Py_DEBUG
+#define NDEBUG
+#endif
diff --git a/Mac/mwerks/mwerks_nonshared_config.h b/Mac/mwerks/mwerks_nonshared_config.h
index fd4f093..64f9a48 100644
--- a/Mac/mwerks/mwerks_nonshared_config.h
+++ b/Mac/mwerks/mwerks_nonshared_config.h
@@ -43,3 +43,6 @@
#include <stdio.h>
extern int fileno(FILE *);
#endif
+#ifndef Py_DEBUG
+#define NDEBUG
+#endif
diff --git a/Mac/mwerks/mwerks_nscarbon_config.h b/Mac/mwerks/mwerks_nscarbon_config.h
index de3af45..58a5a9b 100644
--- a/Mac/mwerks/mwerks_nscarbon_config.h
+++ b/Mac/mwerks/mwerks_nscarbon_config.h
@@ -47,3 +47,6 @@
#include <stdio.h>
extern int fileno(FILE *);
#endif
+#ifndef Py_DEBUG
+#define NDEBUG
+#endif
diff --git a/Mac/mwerks/mwerks_plugin_config.h b/Mac/mwerks/mwerks_plugin_config.h
index 9aa4941..1413f44 100644
--- a/Mac/mwerks/mwerks_plugin_config.h
+++ b/Mac/mwerks/mwerks_plugin_config.h
@@ -15,3 +15,6 @@
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
#include <ansi_prefix.mac.h>
#endif
+#ifndef Py_DEBUG
+#define NDEBUG
+#endif
diff --git a/Mac/mwerks/mwerks_shared_config.h b/Mac/mwerks/mwerks_shared_config.h
index 279ea12..414bedf 100644
--- a/Mac/mwerks/mwerks_shared_config.h
+++ b/Mac/mwerks/mwerks_shared_config.h
@@ -45,3 +45,6 @@
#include <stdio.h>
extern int fileno(FILE *);
#endif
+#ifndef Py_DEBUG
+#define NDEBUG
+#endif
diff --git a/Mac/mwerks/mwerks_shcarbon_config.h b/Mac/mwerks/mwerks_shcarbon_config.h
index bf7fbe6..a9d3916 100644
--- a/Mac/mwerks/mwerks_shcarbon_config.h
+++ b/Mac/mwerks/mwerks_shcarbon_config.h
@@ -49,3 +49,6 @@
#include <stdio.h>
extern int fileno(FILE *);
#endif
+#ifndef Py_DEBUG
+#define NDEBUG
+#endif
diff --git a/Mac/mwerks/mwerks_small_config.h b/Mac/mwerks/mwerks_small_config.h
index d3087f7..6d08f1b 100644
--- a/Mac/mwerks/mwerks_small_config.h
+++ b/Mac/mwerks/mwerks_small_config.h
@@ -42,3 +42,6 @@
#include <stdio.h>
extern int fileno(FILE *);
#endif
+#ifndef Py_DEBUG
+#define NDEBUG
+#endif
diff --git a/Mac/mwerks/mwerks_thrcarbonsm_config.h b/Mac/mwerks/mwerks_thrcarbonsm_config.h
index 05fda97..e52c373 100644
--- a/Mac/mwerks/mwerks_thrcarbonsm_config.h
+++ b/Mac/mwerks/mwerks_thrcarbonsm_config.h
@@ -42,3 +42,6 @@
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
#include <ansi_prefix.mac.h>
#endif
+#ifndef Py_DEBUG
+#define NDEBUG
+#endif
diff --git a/Mac/mwerks/mwerks_threadsmall_config.h b/Mac/mwerks/mwerks_threadsmall_config.h
index 0a64cad..83c8a3e 100644
--- a/Mac/mwerks/mwerks_threadsmall_config.h
+++ b/Mac/mwerks/mwerks_threadsmall_config.h
@@ -37,3 +37,6 @@
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
#include <ansi_prefix.mac.h>
#endif
+#ifndef Py_DEBUG
+#define NDEBUG
+#endif
diff --git a/Mac/mwerks/mwerks_tkplugin_config.h b/Mac/mwerks/mwerks_tkplugin_config.h
index d0fb811..aef32fb 100644
--- a/Mac/mwerks/mwerks_tkplugin_config.h
+++ b/Mac/mwerks/mwerks_tkplugin_config.h
@@ -11,3 +11,6 @@
#define USE_TK /* Include _tkinter module in core Python */
#define MAC_TCL /* This *must* be on if USE_TK is on */
#define WITHOUT_FRAMEWORKS /* Use old-style Universal Header includes, not Carbon/Carbon.h */
+#ifndef Py_DEBUG
+#define NDEBUG
+#endif