Author: Richard Plangger <planri...@gmail.com>
Branch: 
Changeset: r91678:5eaa2ef5baa8
Date: 2017-07-04 15:05 -0400
http://bitbucket.org/pypy/pypy/changeset/5eaa2ef5baa8/

Log:    apply windows fix

diff --git a/rpython/rlib/rvmprof/src/shared/vmprof_main.c 
b/rpython/rlib/rvmprof/src/shared/vmprof_main.c
--- a/rpython/rlib/rvmprof/src/shared/vmprof_main.c
+++ b/rpython/rlib/rvmprof/src/shared/vmprof_main.c
@@ -1,3 +1,6 @@
+#ifdef VMPROF_UNIX
+
+#include <unistd.h>
 /* value: LSB bit is 1 if signals must be ignored; all other bits
    are a counter for how many threads are currently in a signal handler */
 static long volatile signal_handler_value = 1;
@@ -24,3 +27,4 @@
 {
     return __sync_sub_and_fetch(&signal_handler_value, 2L);
 }
+#endif
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to