Author: Armin Rigo <[email protected]>
Branch:
Changeset: r80726:fe575252cf40
Date: 2015-11-17 12:48 +0100
http://bitbucket.org/pypy/pypy/changeset/fe575252cf40/
Log: aaargh, MS_WIN32 is defined in cpython's own include files, not as I
thought by including windows.h!
diff --git a/pypy/module/_cffi_backend/src/parse_c_type.c
b/pypy/module/_cffi_backend/src/parse_c_type.c
--- a/pypy/module/_cffi_backend/src/parse_c_type.c
+++ b/pypy/module/_cffi_backend/src/parse_c_type.c
@@ -4,7 +4,7 @@
#include <errno.h>
#if defined(_MSC_VER)
-# include <windows.h> /* needed at least to define MS_WIN32 */
+# define MS_WIN32
typedef size_t uintptr_t;
#else
# include <stdint.h>
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit