Permalink
Browse files

Fixed compilation issues with 0.6.x

  • Loading branch information...
1 parent 6890d6c commit bfdd7d7694d1527bd3ebdb7019bad370ee3493be Angelo Vargas committed Mar 27, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 protobuf_for_node.cc
@@ -25,7 +25,7 @@
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/service.h>
-#include <eio.h>
+#include <node.h>
#include <node_buffer.h>
#include <node_object_wrap.h>
@@ -590,14 +590,13 @@ namespace protobuf_for_node {
static ev_async ev_done;
// in some thread:
- static int Run(eio_req* req) {
+ static void Run(eio_req* req) {
AsyncInvocation* self = static_cast<AsyncInvocation*>(req->data);
self->service_->service_->CallMethod(self->method_,
NULL,
self->request_,
self->response_,
google::protobuf::NewCallback(&Done, self));
- return 0;
}
// in some thread:

0 comments on commit bfdd7d7

Please sign in to comment.