Author: Stanislaw Halik <stha...@misaki.pl> Branch: Changeset: r62793:4843dc2adccc Date: 2013-03-26 05:17 +0100 http://bitbucket.org/pypy/pypy/changeset/4843dc2adccc/
Log: Use correct definition on mingw Attempting to use msvc definition leads to compilation failure diff --git a/rpython/translator/c/src/stacklet/slp_platformselect.h b/rpython/translator/c/src/stacklet/slp_platformselect.h --- a/rpython/translator/c/src/stacklet/slp_platformselect.h +++ b/rpython/translator/c/src/stacklet/slp_platformselect.h @@ -1,5 +1,6 @@ - -#if defined(_M_IX86) +#if defined(__MINGW32__) +#include "switch_x86_gcc.h" /* gcc on X86 */ +#elif defined(_M_IX86) #include "switch_x86_msvc.h" /* MS Visual Studio on X86 */ #elif defined(_M_X64) #include "switch_x64_msvc.h" /* MS Visual Studio on X64 */ _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit