[pypy-commit] pypy default: define VMPROF_WINDOWS, add one c file to the windows compilation

plan_rich pypy.commits at gmail.com
Wed Mar 29 19:11:07 EDT 2017


Author: Richard Plangger <planrichi at gmail.com>
Branch: 
Changeset: r90867:1930762b681f
Date: 2017-03-29 19:10 -0400
http://bitbucket.org/pypy/pypy/changeset/1930762b681f/

Log:	define VMPROF_WINDOWS, add one c file to the windows compilation

diff --git a/rpython/rlib/rvmprof/cintf.py b/rpython/rlib/rvmprof/cintf.py
--- a/rpython/rlib/rvmprof/cintf.py
+++ b/rpython/rlib/rvmprof/cintf.py
@@ -40,7 +40,8 @@
     _libs = []
 else:
     # windows
-    separate_module_files = []
+    compile_extra += ['-DVMPROF_WINDOWS']
+    separate_module_files = [SHARED.join('vmprof_main_win32.c')]
     _libs = []
 
 eci_kwds = dict(


More information about the pypy-commit mailing list