[pypy-commit] pypy py3.6: stdint.h exists on msvc 2010 and up, which should be used for python compilation
mattip
pypy.commits at gmail.com
Mon Apr 15 13:32:17 EDT 2019
Author: Matti Picus <matti.picus at gmail.com>
Branch: py3.6
Changeset: r96497:25affebcac5f
Date: 2019-04-15 14:48 +0300
http://bitbucket.org/pypy/pypy/changeset/25affebcac5f/
Log: stdint.h exists on msvc 2010 and up, which should be used for python
compilation
diff --git a/pypy/module/cpyext/include/Python.h b/pypy/module/cpyext/include/Python.h
--- a/pypy/module/cpyext/include/Python.h
+++ b/pypy/module/cpyext/include/Python.h
@@ -18,6 +18,7 @@
# define PyAPI_DATA(RTYPE) extern PyAPI_FUNC(RTYPE)
# define Py_LOCAL_INLINE(type) static inline type
#else
+# include <stdint.h>
# define MS_WIN32 1
# define MS_WINDOWS 1
# ifdef _MSC_VER
More information about the pypy-commit
mailing list