[pypy-commit] pypy win64-stage1: _continuelet on win64 _works_ !

ctismer noreply at buildbot.pypy.org
Mon Nov 21 14:20:16 CET 2011


Author: Christian Tismer <tismer at stackless.com>
Branch: win64-stage1
Changeset: r49619:fbf211aee071
Date: 2011-11-21 14:18 +0100
http://bitbucket.org/pypy/pypy/changeset/fbf211aee071/

Log:	_continuelet on win64 _works_ ! There was an old direct reference to
	windows in rwin32.py, changed it to host_factory

diff --git a/pypy/rlib/rwin32.py b/pypy/rlib/rwin32.py
--- a/pypy/rlib/rwin32.py
+++ b/pypy/rlib/rwin32.py
@@ -128,8 +128,8 @@
         # Prior to Visual Studio 8, the MSVCRT dll doesn't export the
         # _dosmaperr() function, which is available only when compiled
         # against the static CRT library.
-        from pypy.translator.platform import platform, Windows
-        static_platform = Windows()
+        from pypy.translator.platform import host_factory
+        static_platform = host_factory()
         if static_platform.name == 'msvc':
             static_platform.cflags = ['/MT']  # static CRT
             static_platform.version = 0       # no manifest
diff --git a/pypy/translator/platform/windows.py b/pypy/translator/platform/windows.py
--- a/pypy/translator/platform/windows.py
+++ b/pypy/translator/platform/windows.py
@@ -6,13 +6,12 @@
 from pypy.translator.platform import CompilationError
 from pypy.translator.platform import log, _run_subprocess
 from pypy.translator.platform import Platform, posix
-from pypy.rlib.rarithmetic import is_emulated_long
 
 def Windows(cc=None):
     if cc == 'mingw32':
         return MingwPlatform(cc)
     else:
-        return MsvcPlatform(x64=is_emulated_long)
+        return MsvcPlatform(cc, False)
     
 def Windows_x64(cc=None):
     return MsvcPlatform(cc, True)


More information about the pypy-commit mailing list