Author: mattip <matti.pi...@gmail.com>
Branch: release-2.3.x
Changeset: r71393:90042a6e8292
Date: 2014-05-07 19:30 +0300
http://bitbucket.org/pypy/pypy/changeset/90042a6e8292/

Log:    a better fix for translation on msvc after 3484aaa1e858

diff --git a/rpython/translator/c/src/asm.c b/rpython/translator/c/src/asm.c
--- a/rpython/translator/c/src/asm.c
+++ b/rpython/translator/c/src/asm.c
@@ -12,6 +12,6 @@
 #  include "src/asm_ppc.c"
 #endif
 
-#if defined(MS_WINDOWS) && defined(_MSC_VER)
+#if defined(_MSC_VER)
 #  include "src/asm_msvc.c"
 #endif
diff --git a/rpython/translator/c/src/asm_msvc.c 
b/rpython/translator/c/src/asm_msvc.c
--- a/rpython/translator/c/src/asm_msvc.c
+++ b/rpython/translator/c/src/asm_msvc.c
@@ -1,5 +1,6 @@
 #ifdef PYPY_X86_CHECK_SSE2
 #include <intrin.h>
+#include <stdio.h>
 void pypy_x86_check_sse2(void)
 {
     int features;
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to