зеркало из https://github.com/mozilla/pjs.git
Fix Macho and Cocoa horkage because of a missing ifdef.
This commit is contained in:
Родитель
af05edb6e7
Коммит
91759efb47
|
@ -5035,7 +5035,7 @@ DocumentViewerImpl::CheckForPrinters(nsIPrintOptions* aPrintOptions,
|
|||
} else {
|
||||
// this means there were no printers
|
||||
// XXX the ifdefs are temporary until they correctly implement Available Printers
|
||||
#if defined(XP_MAC)
|
||||
#if defined(XP_MAC) || defined(XP_MACOSX)
|
||||
rv = NS_OK;
|
||||
#else
|
||||
ShowPrintErrorDialog(aErrorCode, aIsPrinting);
|
||||
|
|
|
@ -5035,7 +5035,7 @@ DocumentViewerImpl::CheckForPrinters(nsIPrintOptions* aPrintOptions,
|
|||
} else {
|
||||
// this means there were no printers
|
||||
// XXX the ifdefs are temporary until they correctly implement Available Printers
|
||||
#if defined(XP_MAC)
|
||||
#if defined(XP_MAC) || defined(XP_MACOSX)
|
||||
rv = NS_OK;
|
||||
#else
|
||||
ShowPrintErrorDialog(aErrorCode, aIsPrinting);
|
||||
|
|
Загрузка…
Ссылка в новой задаче