Author: Stanislaw Halik <stha...@misaki.pl>
Branch: 
Changeset: r62791:a3e64cd09a84
Date: 2013-03-26 05:16 +0100
http://bitbucket.org/pypy/pypy/changeset/a3e64cd09a84/

Log:    Need <windows.h> on mingw due to missing LPCSTR

diff --git a/rpython/translator/c/src/commondefs.h 
b/rpython/translator/c/src/commondefs.h
--- a/rpython/translator/c/src/commondefs.h
+++ b/rpython/translator/c/src/commondefs.h
@@ -28,6 +28,9 @@
 
 */
 
+#if defined(__MINGW32__)
+#   include <windows.h>
+#endif
 #include <limits.h>
 
 #ifndef LLONG_MAX
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to