Permalink
Browse files

need these defines to get it working

  • Loading branch information...
1 parent 5d212fa commit bc4ffffbce1aece76767c8ed1215efdeb4630cb6 @pkrumins committed Aug 5, 2010
Showing with 1 addition and 4 deletions.
  1. +0 −4 async.cpp
  2. +1 −0 wscript
View
4 async.cpp
@@ -39,10 +39,6 @@ class Async : public ObjectWrap {
};
static int EIO_Moo(eio_req *req) {
- //
- // req->data pointer gets messed up!!!
- //
- printf("%x %x\n", req, req->data);
moo_request *moo_req = (moo_request *)req->data;
Async *async = moo_req->async;
moo_req->result = async->x * async->y;
View
1 wscript
@@ -17,6 +17,7 @@ def build(bld):
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
obj.target = "async"
obj.source = "async.cpp"
+ obj.cxxflags = ["-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE"]
def shutdown():
if Options.commands['clean']:

0 comments on commit bc4ffff

Please sign in to comment.