summaryrefslogtreecommitdiff
path: root/src/fs_event_wrap.cc
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2013-08-12 12:54:49 -0700
committerTrevor Norris <trev.norris@gmail.com>2013-08-12 12:54:49 -0700
commit35f789b02795ed8dd177b65f80b53f408dc7fe09 (patch)
treed294203d0dc1f32d89c7d6200e7b038dc0b4b25f /src/fs_event_wrap.cc
parent5725864dfdc951ee7616188776b56b9e0a95e8e7 (diff)
downloadandroid-node-v8-35f789b02795ed8dd177b65f80b53f408dc7fe09.tar.gz
android-node-v8-35f789b02795ed8dd177b65f80b53f408dc7fe09.tar.bz2
android-node-v8-35f789b02795ed8dd177b65f80b53f408dc7fe09.zip
src: fix build break from generic macro name
WRAP is too generic a macro name and causes the build to fail from conflicts. They have been prepended with NODE_.
Diffstat (limited to 'src/fs_event_wrap.cc')
-rw-r--r--src/fs_event_wrap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc
index 9efaa99561..8906f43ee3 100644
--- a/src/fs_event_wrap.cc
+++ b/src/fs_event_wrap.cc
@@ -99,7 +99,7 @@ void FSEventWrap::Start(const FunctionCallbackInfo<Value>& args) {
HandleScope scope(node_isolate);
FSEventWrap* wrap;
- UNWRAP(args.This(), FSEventWrap, wrap);
+ NODE_UNWRAP(args.This(), FSEventWrap, wrap);
if (args.Length() < 1 || !args[0]->IsString()) {
return ThrowTypeError("Bad arguments");
@@ -173,7 +173,7 @@ void FSEventWrap::Close(const FunctionCallbackInfo<Value>& args) {
HandleScope scope(node_isolate);
FSEventWrap* wrap;
- UNWRAP_NO_ABORT(args.This(), FSEventWrap, wrap);
+ NODE_UNWRAP_NO_ABORT(args.This(), FSEventWrap, wrap);
if (wrap == NULL || wrap->initialized_ == false) return;
wrap->initialized_ = false;