[pypy-commit] pypy win32-faulthandler: Fix one failure on windows

amauryfa pypy.commits at gmail.com
Thu Apr 6 10:37:08 EDT 2017


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: win32-faulthandler
Changeset: r90988:0fe0e4f377e5
Date: 2017-04-06 16:36 +0200
http://bitbucket.org/pypy/pypy/changeset/0fe0e4f377e5/

Log:	Fix one failure on windows

diff --git a/pypy/module/faulthandler/faulthandler.h b/pypy/module/faulthandler/faulthandler.h
--- a/pypy/module/faulthandler/faulthandler.h
+++ b/pypy/module/faulthandler/faulthandler.h
@@ -2,7 +2,11 @@
 #define PYPY_FAULTHANDLER_H
 
 #include "src/precommondefs.h"
+#ifdef _MSC_VER
+typedef Signed intptr_t;
+#else
 #include <stdint.h>
+#endif
 
 
 typedef void (*pypy_faulthandler_cb_t)(int fd, intptr_t *array_p,


More information about the pypy-commit mailing list