[pypy-svn] r78376 - pypy/branch/fast-forward/pypy/translator/c/src
afa at codespeak.net
afa at codespeak.net
Wed Oct 27 19:56:19 CEST 2010
Author: afa
Date: Wed Oct 27 19:56:18 2010
New Revision: 78376
Modified:
pypy/branch/fast-forward/pypy/translator/c/src/debug_alloc.h
Log:
Fix compilation on Windows, when debug_alloc is enabled
Modified: pypy/branch/fast-forward/pypy/translator/c/src/debug_alloc.h
==============================================================================
--- pypy/branch/fast-forward/pypy/translator/c/src/debug_alloc.h (original)
+++ pypy/branch/fast-forward/pypy/translator/c/src/debug_alloc.h Wed Oct 27 19:56:18 2010
@@ -62,8 +62,8 @@
count++;
if (count > 0)
{
- fprintf(stderr, "debug_alloc.h: %ld mallocs left", count);
char *env = getenv("PYPY_ALLOC");
+ fprintf(stderr, "debug_alloc.h: %ld mallocs left", count);
if (env && *env)
{
fprintf(stderr, " (most recent first):\n");
More information about the Pypy-commit
mailing list