diff options
author | Guido van Rossum <guido@python.org> | 1996-12-30 16:17:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-12-30 16:17:54 (GMT) |
commit | 408027ea4635de5c892b28c4fdf41840eb9089a4 (patch) | |
tree | 26a28bfbfa94697565ce4440da84772e2bb96acb /Python/thread_sgi.h | |
parent | a0dc1c4a613f11e1b6e20fa25658823533ca201b (diff) | |
download | cpython-408027ea4635de5c892b28c4fdf41840eb9089a4.zip cpython-408027ea4635de5c892b28c4fdf41840eb9089a4.tar.gz cpython-408027ea4635de5c892b28c4fdf41840eb9089a4.tar.bz2 |
Rename DEBUG macro to Py_DEBUG
Diffstat (limited to 'Python/thread_sgi.h')
-rw-r--r-- | Python/thread_sgi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/thread_sgi.h b/Python/thread_sgi.h index 2774e49..32b94f2 100644 --- a/Python/thread_sgi.h +++ b/Python/thread_sgi.h @@ -77,7 +77,7 @@ static void exit_sig _P0() } if (do_exit) { d2printf(("exiting in exit_sig\n")); -#ifdef DEBUG +#ifdef Py_DEBUG if ((thread_debug & 8) == 0) thread_debug &= ~1; /* don't produce debug messages */ #endif @@ -140,12 +140,12 @@ static void _init_thread _P0() if (usconfig(CONF_ARENATYPE, US_SHAREDONLY) < 0) perror("usconfig - CONF_ARENATYPE"); usconfig(CONF_LOCKTYPE, US_DEBUG); /* XXX */ -#ifdef DEBUG +#ifdef Py_DEBUG if (thread_debug & 4) usconfig(CONF_LOCKTYPE, US_DEBUGPLUS); else if (thread_debug & 2) usconfig(CONF_LOCKTYPE, US_DEBUG); -#endif /* DEBUG */ +#endif /* Py_DEBUG */ if ((shared_arena = usinit(tmpnam(0))) == 0) perror("usinit"); #ifdef USE_DL |