Permalink
Browse files

Use VERSION_CODE 190 instead of 191 so it works with 1.9.0

  • Loading branch information...
1 parent 49d0a4d commit d9c9c1e030ea888ebbbefb9013c726b78eaf2df6 @ry ry committed Jun 3, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 ext/ebb_ffi.c
View
@@ -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;

0 comments on commit d9c9c1e

Please sign in to comment.