[pypy-commit] pypy win32-faulthandler: Small progress
amauryfa
pypy.commits at gmail.com
Thu Apr 6 11:46:25 EDT 2017
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: win32-faulthandler
Changeset: r91001:ecba8ea23c8c
Date: 2017-04-06 17:45 +0200
http://bitbucket.org/pypy/pypy/changeset/ecba8ea23c8c/
Log: Small progress
diff --git a/rpython/rlib/rvmprof/src/rvmprof.h b/rpython/rlib/rvmprof/src/rvmprof.h
--- a/rpython/rlib/rvmprof/src/rvmprof.h
+++ b/rpython/rlib/rvmprof/src/rvmprof.h
@@ -5,8 +5,6 @@
#define SINGLE_BUF_SIZE (8192 - 2 * sizeof(unsigned int))
#ifdef VMPROF_WINDOWS
-// #include "msiinttypes/inttypes.h"
-// #include "msiinttypes/stdint.h"
#include <crtdefs.h>
#else
#include <inttypes.h>
diff --git a/rpython/rlib/rvmprof/src/shared/_vmprof.h b/rpython/rlib/rvmprof/src/shared/_vmprof.h
--- a/rpython/rlib/rvmprof/src/shared/_vmprof.h
+++ b/rpython/rlib/rvmprof/src/shared/_vmprof.h
@@ -8,8 +8,9 @@
// CPython 3.6 defines all the inttypes for us, we do not need the msiinttypes
// library for that version or any newer!
#if (PY_VERSION_HEX < 0x3060000)
-#include "msiinttypes/inttypes.h"
-#include "msiinttypes/stdint.h"
+#include <crtdefs.h>
+typedef __int64 int64_t;
+typedef unsigned __int64 uint64_t;
#endif
#else
More information about the pypy-commit
mailing list