Skip to content

Commit

Permalink
Merge pull request #28 from hsbt/fix-rb_thread_call
Browse files Browse the repository at this point in the history
fixed build error with Ruby 2.2.0
  • Loading branch information
repeatedly committed Apr 5, 2014
2 parents a908df7 + dba8f2b commit 6cd9915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/cool.io/loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ static VALUE Coolio_Loop_run_once(VALUE self)
return nevents;
}

#ifdef HAVE_RB_THREAD_BLOCKING_REGION
#if defined(HAVE_RB_THREAD_BLOCKING_REGION) || defined(HAVE_RB_THREAD_CALL_WITHOUT_GVL)
#define HAVE_EV_LOOP_ONESHOT

static void Coolio_Loop_ev_loop_oneshot(struct Coolio_Loop *loop_data)
Expand Down

0 comments on commit 6cd9915

Please sign in to comment.