Make run-as-node mode optional (#11701)

This commit is contained in:
Aleš Pergl 2018-01-24 00:17:15 +01:00 committed by shelley vohr
parent 19a5ebce66
commit 868e792572
6 changed files with 36 additions and 3 deletions

View file

@ -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