Skip to content

Commit 5e232f5

Browse files
lundibundiMylesBorins
authored andcommitted
src: make large_pages node.cc include conditional
The usage of the relevant methods from the file is conditional so make the include conditional too. Backport-PR-URL: #31063 PR-URL: #31078 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent dea40f8 commit 5e232f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/node.cc

+2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@
6464
#include "inspector/worker_inspector.h" // ParentInspectorHandle
6565
#endif
6666

67+
#ifdef NODE_ENABLE_LARGE_CODE_PAGES
6768
#include "large_pages/node_large_page.h"
69+
#endif
6870

6971
#ifdef NODE_REPORT
7072
#include "node_report.h"

0 commit comments

Comments
 (0)