[pypy-commit] pypy default: aaargh, MS_WIN32 is defined in cpython's own include files, not as I
arigo
noreply at buildbot.pypy.org
Tue Nov 17 06:48:16 EST 2015
Author: Armin Rigo <arigo at tunes.org>
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>
More information about the pypy-commit
mailing list