summaryrefslogtreecommitdiff
path: root/layout/printing/nsPrintEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/printing/nsPrintEngine.cpp')
-rw-r--r--layout/printing/nsPrintEngine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/printing/nsPrintEngine.cpp b/layout/printing/nsPrintEngine.cpp
index 5593dd9ff..74ba2be5d 100644
--- a/layout/printing/nsPrintEngine.cpp
+++ b/layout/printing/nsPrintEngine.cpp
@@ -1662,7 +1662,7 @@ nsPrintEngine::ShowPrintErrorDialog(nsresult aPrintError, bool aIsPrinting)
nsresult
nsPrintEngine::ReconstructAndReflow(bool doSetPixelScale)
{
-#if (defined(XP_WIN) || defined(XP_OS2)) && defined(EXTENDED_DEBUG_PRINTING)
+#if defined(XP_WIN) && defined(EXTENDED_DEBUG_PRINTING)
// We need to clear all the output files here
// because they will be re-created with second reflow of the docs
if (kPrintingLogMod && kPrintingLogMod->level == DUMP_LAYOUT_LEVEL) {
@@ -3677,7 +3677,7 @@ nsPrintEngine::FirePrintCompletionEvent()
//-- Debug helper routines
//---------------------------------------------------------------
//---------------------------------------------------------------
-#if (defined(XP_WIN) || defined(XP_OS2)) && defined(EXTENDED_DEBUG_PRINTING)
+#if defined(XP_WIN) && defined(EXTENDED_DEBUG_PRINTING)
#include "windows.h"
#include "process.h"
#include "direct.h"