Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r299:4413d3ad4a81
Date: 2013-06-27 09:18 +0200
http://bitbucket.org/pypy/stmgc/changeset/4413d3ad4a81/

Log:    Fixes

diff --git a/c4/dbgmem.c b/c4/dbgmem.c
--- a/c4/dbgmem.c
+++ b/c4/dbgmem.c
@@ -2,10 +2,12 @@
 #include <sys/mman.h>
 
 
+#define PAGE_SIZE  4096
+
+
 #ifdef _GC_DEBUG
 /************************************************************/
 
-#define PAGE_SIZE  4096
 #define MMAP_TOTAL  671088640   /* 640MB */
 
 static pthread_mutex_t malloc_mutex = PTHREAD_MUTEX_INITIALIZER;
diff --git a/c4/nursery.c b/c4/nursery.c
--- a/c4/nursery.c
+++ b/c4/nursery.c
@@ -19,7 +19,9 @@
 }
 
 /* forward declarations */
+#ifndef NDEBUG
 static int minor_collect_anything_to_do(struct tx_descriptor *);
+#endif
 static gcptr allocate_next_section(size_t size, revision_t tid);
 
 /************************************************************/
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to