[pypy-svn] r74967 - pypy/trunk/pypy/rlib

afa at codespeak.net afa at codespeak.net
Mon May 31 13:08:52 CEST 2010


Author: afa
Date: Mon May 31 13:08:51 2010
New Revision: 74967

Modified:
   pypy/trunk/pypy/rlib/rdynload.py
Log:
rdynload does not need any extra library on Windows


Modified: pypy/trunk/pypy/rlib/rdynload.py
==============================================================================
--- pypy/trunk/pypy/rlib/rdynload.py	(original)
+++ pypy/trunk/pypy/rlib/rdynload.py	Mon May 31 13:08:51 2010
@@ -29,10 +29,8 @@
 else: 
     pre_include_bits = []
 
-if _FREEBSD_7 or _MINGW: # no need of library or not supported?
+if _FREEBSD_7 or _WIN32:
     libraries = []
-elif _MSVC:
-    libraries = ['kernel32'] # not sure if needed
 else:
     libraries = ['dl']
 
@@ -58,9 +56,6 @@
 def external(name, args, result, **kwds):
     return rffi.llexternal(name, args, result, compilation_info=eci, **kwds)
 
-def winexternal(name, args, result):
-    return rffi.llexternal(name, args, result, compilation_info=eci, calling_conv='win')
-
 class DLOpenError(Exception):
     def __init__(self, msg):
         self.msg = msg



More information about the Pypy-commit mailing list