Author: Stanislaw Halik <[email protected]>
Branch: 
Changeset: r62792:cf040a58ff7e
Date: 2013-03-26 05:17 +0100
http://bitbucket.org/pypy/pypy/changeset/cf040a58ff7e/

Log:    Don't redefine alloca on mingw, thus fixing build

diff --git a/rpython/translator/c/src/mem.h b/rpython/translator/c/src/mem.h
--- a/rpython/translator/c/src/mem.h
+++ b/rpython/translator/c/src/mem.h
@@ -37,7 +37,7 @@
 
 #define OP_RAW_MALLOC_USAGE(size, r) r = size
 
-#ifdef MS_WINDOWS
+#if defined(MS_WINDOWS) && !defined(__MINGW32__)
 #define alloca  _alloca
 #endif
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to