[pypy-svn] r17902 - pypy/dist/pypy/translator/c

ericvrp at codespeak.net ericvrp at codespeak.net
Tue Sep 27 15:20:42 CEST 2005


Author: ericvrp
Date: Tue Sep 27 15:20:41 2005
New Revision: 17902

Modified:
   pypy/dist/pypy/translator/c/gc.py
Log:
This should only be set when using Boehm with threads.


Modified: pypy/dist/pypy/translator/c/gc.py
==============================================================================
--- pypy/dist/pypy/translator/c/gc.py	(original)
+++ pypy/dist/pypy/translator/c/gc.py	Tue Sep 27 15:20:41 2005
@@ -355,9 +355,9 @@
         return ['gc'] # xxx on windows?
 
     def pre_pre_gc_code(self):
-        if sys.platform == "linux2":
-            yield "#define _REENTRANT 1"
-            yield "#define GC_LINUX_THREADS 1"
+        #if sys.platform == "linux2":
+        #    yield "#define _REENTRANT 1"
+        #    yield "#define GC_LINUX_THREADS 1"
         yield '#include <gc.h>'
         yield '#define USING_BOEHM_GC'
 



More information about the Pypy-commit mailing list