Make run-as-node mode optional (#11701)
This commit is contained in:
parent
19a5ebce66
commit
868e792572
6 changed files with 36 additions and 3 deletions
|
@ -2,6 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifdef ENABLE_RUN_AS_NODE
|
||||
|
||||
#include "atom/app/node_main.h"
|
||||
|
||||
#include "atom/app/uv_task_runner.h"
|
||||
|
@ -107,3 +109,5 @@ int NodeMain(int argc, char *argv[]) {
|
|||
}
|
||||
|
||||
} // namespace atom
|
||||
|
||||
#endif // ENABLE_RUN_AS_NODE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue