summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-30 16:17:54 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-30 16:17:54 (GMT)
commit408027ea4635de5c892b28c4fdf41840eb9089a4 (patch)
tree26a28bfbfa94697565ce4440da84772e2bb96acb /Python/thread.c
parenta0dc1c4a613f11e1b6e20fa25658823533ca201b (diff)
downloadcpython-408027ea4635de5c892b28c4fdf41840eb9089a4.zip
cpython-408027ea4635de5c892b28c4fdf41840eb9089a4.tar.gz
cpython-408027ea4635de5c892b28c4fdf41840eb9089a4.tar.bz2
Rename DEBUG macro to Py_DEBUG
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/thread.c b/Python/thread.c
index 0e6d6ee..ad7dd5c 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -83,7 +83,7 @@ extern char *getenv();
#define _P2(v1,t1,v2,t2) (v1,v2) t1; t2;
#endif /* __STDC__ */
-#ifdef DEBUG
+#ifdef Py_DEBUG
static int thread_debug = 0;
#define dprintf(args) ((thread_debug & 1) && printf args)
#define d2printf(args) ((thread_debug & 8) && printf args)
@@ -98,7 +98,7 @@ static void _init_thread(); /* Forward */
void init_thread _P0()
{
-#ifdef DEBUG
+#ifdef Py_DEBUG
char *p = getenv("THREADDEBUG");
if (p) {
@@ -107,7 +107,7 @@ void init_thread _P0()
else
thread_debug = 1;
}
-#endif /* DEBUG */
+#endif /* Py_DEBUG */
if (initialized)
return;
initialized = 1;
f801ea5a'>bug_46f801ea5a Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
path: root/unix
ModeNameSize
-rw-r--r--Makefile.in76492logstatsplain
-rw-r--r--README8381logstatsplain
-rw-r--r--aclocal.m432logstatsplain
-rwxr-xr-xconfigure582583logstatsplain
-rw-r--r--configure.in37533logstatsplain
d---------dltest314logstatsplain
-rwxr-xr-xinstall-sh13868logstatsplain
-rwxr-xr-xinstallManPage3036logstatsplain
-rwxr-xr-xldAix2016logstatsplain
-rw-r--r--tcl.m499699logstatsplain
-rw-r--r--tcl.pc.in373logstatsplain
-rw-r--r--tcl.spec1346logstatsplain
-rw-r--r--tclAppInit.c4511logstatsplain
-rw-r--r--tclConfig.h.in13014logstatsplain
-rw-r--r--tclConfig.sh.in6038logstatsplain
-rw-r--r--tclLoadAix.c13104logstatsplain
-rw-r--r--tclLoadDl.c7335logstatsplain
-rw-r--r--tclLoadDyld.c20139logstatsplain
-rw-r--r--tclLoadNext.c5719logstatsplain
-rw-r--r--tclLoadOSF.c6457logstatsplain
-rw-r--r--tclLoadShl.c6327logstatsplain
-rw-r--r--tclUnixChan.c49665logstatsplain
-rw-r--r--tclUnixCompat.c23830logstatsplain
-rw-r--r--tclUnixEvent.c2171logstatsplain
-rw-r--r--tclUnixFCmd.c62998logstatsplain