Mercurial > cpython-lru_cache-weakref
diff Python/thread_sgi.h @ 4839:4567e158d20c legacy-trunk
Rename DEBUG macro to Py_DEBUG
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 30 Dec 1996 16:17:54 +0000 |
| parents | 65d2d8e67da3 |
| children | b7871ca930ad |
line wrap: on
line diff
--- a/Python/thread_sgi.h Mon Dec 30 02:37:07 1996 +0000 +++ b/Python/thread_sgi.h Mon Dec 30 16:17:54 1996 +0000 @@ -77,7 +77,7 @@ } 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 @@ 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
