Fix Macho and Cocoa horkage because of a missing ifdef.

This commit is contained in:
hyatt%netscape.com 2002-02-04 10:56:42 +00:00
Родитель af05edb6e7
Коммит 91759efb47
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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