Allow using blink's private headers

This commit is contained in:
Cheng Zhao 2015-01-06 20:53:06 -08:00
parent 3dfc496243
commit 09acb9032a
3 changed files with 5 additions and 1 deletions

View file

@ -7,6 +7,7 @@
// Include common headers for using node APIs.
#undef ASSERT
#undef CHECK
#undef CHECK_EQ
#undef CHECK_NE
@ -15,6 +16,7 @@
#undef CHECK_LE
#undef CHECK_LT
#undef DISALLOW_COPY_AND_ASSIGN
#undef NO_RETURN
#undef debug_string // This is defined in OS X 10.9 SDK in AssertMacros.h.
#include "vendor/node/src/env.h"
#include "vendor/node/src/env-inl.h"