Skip to content
This repository was archived by the owner on Mar 28, 2021. It is now read-only.

Commit b4196ca

Browse files
authored
build: fix build with enable_printing=false (electron#26597)
1 parent 06158b3 commit b4196ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shell/browser/api/electron_api_printing.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ printing::PrinterList GetPrinterList() {
5959

6060
namespace {
6161

62+
#if BUILDFLAG(ENABLE_PRINTING)
6263
using electron::api::GetPrinterList;
64+
#endif
6365

6466
void Initialize(v8::Local<v8::Object> exports,
6567
v8::Local<v8::Value> unused,

0 commit comments

Comments
 (0)