Author: Richard Plangger <planri...@gmail.com>
Branch: 
Changeset: r85787:c6bbfff6404e
Date: 2016-07-21 10:29 +0200
http://bitbucket.org/pypy/pypy/changeset/c6bbfff6404e/

Log:    apply patch provided by David Naylor to enable vmprof on Dragon Fly
        BSD

diff --git a/rpython/rlib/rvmprof/src/vmprof_config.h 
b/rpython/rlib/rvmprof/src/vmprof_config.h
--- a/rpython/rlib/rvmprof/src/vmprof_config.h
+++ b/rpython/rlib/rvmprof/src/vmprof_config.h
@@ -4,7 +4,7 @@
 #  define HAVE_SIGNAL_H
 #endif
 
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || 
defined(__DragonFly__)
   #ifdef __i386__
     #define PC_FROM_UCONTEXT uc_mcontext.mc_eip
   #else
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to