Author: Armin Rigo <[email protected]> Branch: Changeset: r88671:d6063299a5ce Date: 2016-11-25 16:06 +0100 http://bitbucket.org/pypy/pypy/changeset/d6063299a5ce/
Log: Issue #2296: patch for Windows diff --git a/rpython/rlib/rvmprof/src/vmprof_getpc.h b/rpython/rlib/rvmprof/src/vmprof_getpc.h --- a/rpython/rlib/rvmprof/src/vmprof_getpc.h +++ b/rpython/rlib/rvmprof/src/vmprof_getpc.h @@ -126,13 +126,14 @@ // how we'd get the PC (using StackWalk64?) // http://msdn2.microsoft.com/en-us/library/ms680650.aspx -#include "base/logging.h" // for RAW_LOG -#ifndef HAVE_CYGWIN_SIGNAL_H -typedef int ucontext_t; -#endif +// #include "base/logging.h" // for RAW_LOG +// #ifndef HAVE_CYGWIN_SIGNAL_H +// typedef int ucontext_t; +// #endif intptr_t GetPC(ucontext_t *signal_ucontext) { - RAW_LOG(ERROR, "GetPC is not yet implemented on Windows\n"); + // RAW_LOG(ERROR, "GetPC is not yet implemented on Windows\n"); + fprintf(stderr, "GetPC is not yet implemented on Windows\n"); return NULL; } _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
