[pypy-commit] pypy default: fix compilation error that caused msvc to follow mingw32 compile path, with no difference in final error mapping

mattip noreply at buildbot.pypy.org
Tue Mar 18 23:13:42 CET 2014


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r70066:f2d5c5bf7675
Date: 2014-03-18 23:01 +0200
http://bitbucket.org/pypy/pypy/changeset/f2d5c5bf7675/

Log:	fix compilation error that caused msvc to follow mingw32 compile
	path, with no difference in final error mapping

diff --git a/rpython/rlib/rwin32.py b/rpython/rlib/rwin32.py
--- a/rpython/rlib/rwin32.py
+++ b/rpython/rlib/rwin32.py
@@ -169,6 +169,7 @@
         cfile = udir.join('dosmaperr.c')
         cfile.write(r'''
                 #include <errno.h>
+                #include <WinError.h>
                 #include  <stdio.h>
                 #ifdef __GNUC__
                 #define _dosmaperr mingw_dosmaperr


More information about the pypy-commit mailing list