Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r1613:94964b956e2a
Date: 2015-02-09 12:20 +0100
http://bitbucket.org/pypy/stmgc/changeset/94964b956e2a/

Log:    can be compiled with "-DUSE_REMAP_FILE_PAGES=0"

diff --git a/c7/stm/pages.h b/c7/stm/pages.h
--- a/c7/stm/pages.h
+++ b/c7/stm/pages.h
@@ -19,7 +19,13 @@
 #define PAGE_FLAG_START   END_NURSERY_PAGE
 #define PAGE_FLAG_END     NB_PAGES
 
-#define USE_REMAP_FILE_PAGES
+/* can be compiled with "-DUSE_REMAP_FILE_PAGES=0" */
+#ifndef USE_REMAP_FILE_PAGES
+#  define USE_REMAP_FILE_PAGES   1
+#endif
+#if !USE_REMAP_FILE_PAGES
+#  undef USE_REMAP_FILE_PAGES
+#endif
 
 struct page_shared_s {
 #if NB_SEGMENTS <= 8
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to