зеркало из https://github.com/electron/electron.git
34 строки
831 B
C
34 строки
831 B
C
// Copyright (c) 2013 GitHub, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef ATOM_COMMON_NODE_INCLUDES_H_
|
|
#define ATOM_COMMON_NODE_INCLUDES_H_
|
|
|
|
#include "base/logging.h"
|
|
|
|
// Include common headers for using node APIs.
|
|
|
|
#define BUILDING_NODE_EXTENSION
|
|
|
|
#undef ASSERT
|
|
#undef CHECK
|
|
#undef CHECK_EQ
|
|
#undef CHECK_NE
|
|
#undef CHECK_GE
|
|
#undef CHECK_GT
|
|
#undef CHECK_LE
|
|
#undef CHECK_LT
|
|
#undef UNLIKELY
|
|
#undef DISALLOW_COPY_AND_ASSIGN
|
|
#undef NO_RETURN
|
|
#undef arraysize
|
|
#undef debug_string // This is defined in macOS 10.9 SDK in AssertMacros.h.
|
|
#include "vendor/node/src/env.h"
|
|
#include "vendor/node/src/env-inl.h"
|
|
#include "vendor/node/src/node.h"
|
|
#include "vendor/node/src/node_buffer.h"
|
|
#include "vendor/node/src/node_internals.h"
|
|
|
|
#endif // ATOM_COMMON_NODE_INCLUDES_H_
|