Author: Armin Rigo <ar...@tunes.org> Branch: cffi-1.0 Changeset: r77275:8214abe8d5e7 Date: 2015-05-10 14:15 +0200 http://bitbucket.org/pypy/pypy/changeset/8214abe8d5e7/
Log: Windows compat 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 @@ -2,7 +2,12 @@ #include <string.h> #include <assert.h> #include <errno.h> -#include <stdint.h> + +#if defined(_MSC_VER) +typedef size_t uintptr_t; +#else +# include <stdint.h> +#endif #define _CFFI_INTERNAL #include "src/precommondefs.h" _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit