2014-10-31 11:17:05 -07:00
|
|
|
// Copyright (c) 2013 GitHub, Inc.
|
2014-04-25 17:49:37 +08:00
|
|
|
// Use of this source code is governed by the MIT license that can be
|
2013-12-11 15:48:19 +08:00
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2014-04-17 13:45:14 +08:00
|
|
|
#ifndef ATOM_COMMON_NODE_INCLUDES_H_
|
|
|
|
#define ATOM_COMMON_NODE_INCLUDES_H_
|
2013-12-11 15:48:19 +08:00
|
|
|
|
2015-09-07 16:29:54 +08:00
|
|
|
#include "base/logging.h"
|
|
|
|
|
2013-12-15 14:20:28 +08:00
|
|
|
// Include common headers for using node APIs.
|
2013-12-11 15:48:19 +08:00
|
|
|
|
2015-04-01 21:33:08 +08:00
|
|
|
#define BUILDING_NODE_EXTENSION
|
|
|
|
|
2015-01-06 20:53:06 -08:00
|
|
|
#undef ASSERT
|
2013-12-11 15:48:19 +08:00
|
|
|
#undef CHECK
|
2014-01-10 18:24:44 +08:00
|
|
|
#undef CHECK_EQ
|
|
|
|
#undef CHECK_NE
|
2014-06-28 19:31:23 +08:00
|
|
|
#undef CHECK_GE
|
|
|
|
#undef CHECK_GT
|
|
|
|
#undef CHECK_LE
|
|
|
|
#undef CHECK_LT
|
2013-12-11 15:48:19 +08:00
|
|
|
#undef DISALLOW_COPY_AND_ASSIGN
|
2015-01-06 20:53:06 -08:00
|
|
|
#undef NO_RETURN
|
2016-05-10 11:05:42 +09:00
|
|
|
#undef arraysize
|
2014-06-28 19:31:23 +08:00
|
|
|
#undef debug_string // This is defined in OS X 10.9 SDK in AssertMacros.h.
|
2013-12-11 15:48:19 +08:00
|
|
|
#include "vendor/node/src/env.h"
|
2013-12-16 14:46:05 +08:00
|
|
|
#include "vendor/node/src/env-inl.h"
|
2013-12-11 15:48:19 +08:00
|
|
|
#include "vendor/node/src/node.h"
|
2014-04-22 23:07:21 +08:00
|
|
|
#include "vendor/node/src/node_buffer.h"
|
2013-12-11 15:48:19 +08:00
|
|
|
#include "vendor/node/src/node_internals.h"
|
|
|
|
|
2014-04-17 13:45:14 +08:00
|
|
|
#endif // ATOM_COMMON_NODE_INCLUDES_H_
|