Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

@bearded's ruby 1.9.3 patch from #33 /cc #39

  • Loading branch information...
commit 1742f97b94ce6d7be4365c097d8b8ad62444b846 1 parent 22b31cc
@tmm1 authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 ext/perftools.c
View
5 ext/perftools.c
@@ -123,6 +123,11 @@ static VALUE Isend;
#include <vm_core.h>
#include <iseq.h>
+// Fix compile error in ruby 1.9.3
+#ifdef RTYPEDDATA_DATA
+#define ruby_current_thread ((rb_thread_t *)RTYPEDDATA_DATA(rb_thread_current()))
+#endif
+
int
rb_stack_trace(void** result, int max_depth)
{
Please sign in to comment.
Something went wrong with that request. Please try again.