Kaydet (Commit) 992bc9df authored tarafından Tor Lillqvist's avatar Tor Lillqvist

There is no "paperconf" command on macOS

Change-Id: I01c4cf877eca81880381060e1b3ebedf2979bcb8
üst 5ba0b8f9
......@@ -222,6 +222,7 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
if (bInitialized)
return aInstance;
#ifndef MACOSX
// try libpaper
// #i78617# workaround missing paperconf command
FILE* pPipe = popen( "paperconf 2>/dev/null", "r" );
......@@ -284,6 +285,7 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
}
}
}
#endif
#if defined(LC_PAPER) && defined(_GNU_SOURCE)
// try LC_PAPER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment