Permalink
Browse files

Fixing broken build on 0.9.11 and above due to V8 being downgraded.

  • Loading branch information...
1 parent d76a848 commit 360896f8942d4688b155745f88cb0f2c3d3a4ba0 @tomgco tomgco committed Mar 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/contextify.cc
View
@@ -49,7 +49,7 @@ class ContextifyContext : ObjectWrap {
Local<Object> createDataWrapper () {
HandleScope scope;
Local<Object> wrapper = dataWrapperCtor->NewInstance();
-#if NODE_MAJOR_VERSION > 0 || NODE_MINOR_VERSION > 9 || (NODE_MINOR_VERSION >= 9 && NODE_PATCH_VERSION >= 6)
+#if NODE_MAJOR_VERSION > 0 || (NODE_MINOR_VERSION == 9 && (NODE_PATCH_VERSION >= 6 && NODE_PATCH_VERSION <= 10))
wrapper->SetAlignedPointerInInternalField(0, this);
#else
wrapper->SetPointerInInternalField(0, this);

0 comments on commit 360896f

Please sign in to comment.