Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use VERSION_CODE 190 instead of 191 so it works with 1.9.0

  • Loading branch information...
commit d9c9c1e030ea888ebbbefb9013c726b78eaf2df6 1 parent 49d0a4d
@ry ry authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 ext/ebb_ffi.c
View
6 ext/ebb_ffi.c
@@ -3,7 +3,7 @@
* License. See README file for details.
*/
#include <ruby.h>
-#if RUBY_VERSION_CODE < 191
+#if RUBY_VERSION_CODE < 190
#include <rubyio.h>
#include <rubysig.h>
#else
@@ -434,11 +434,11 @@ server_listen_on_port(VALUE _, VALUE port)
static VALUE
server_process_connections(VALUE _)
{
-#if RUBY_VERSION_CODE < 191
+#if RUBY_VERSION_CODE < 190
TRAP_BEG;
#endif
ev_loop(loop, EVLOOP_ONESHOT);
-#if RUBY_VERSION_CODE < 191
+#if RUBY_VERSION_CODE < 190
TRAP_END;
#endif
return Qnil;
Please sign in to comment.
Something went wrong with that request. Please try again.