diff --git a/mozilla/htmlparser/tests/grabpage/grabpage.cpp b/mozilla/htmlparser/tests/grabpage/grabpage.cpp
index d0bf8f581c8..03d4de1a54f 100644
--- a/mozilla/htmlparser/tests/grabpage/grabpage.cpp
+++ b/mozilla/htmlparser/tests/grabpage/grabpage.cpp
@@ -51,7 +51,7 @@ static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
#include "nsCRT.h"
#include "prprf.h"
-#ifdef XP_PC
+#ifdef XP_WIN
#include
#include
#include
@@ -252,7 +252,7 @@ PageGrabber::Grab(const nsAFlatCString& aURL)
}
// Enter the message pump to allow the URL load to proceed.
- #ifdef XP_PC
+ #ifdef XP_WIN
MSG msg;
while ( !copier->IsDone() ) {
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
diff --git a/mozilla/parser/htmlparser/tests/grabpage/grabpage.cpp b/mozilla/parser/htmlparser/tests/grabpage/grabpage.cpp
index d0bf8f581c8..03d4de1a54f 100644
--- a/mozilla/parser/htmlparser/tests/grabpage/grabpage.cpp
+++ b/mozilla/parser/htmlparser/tests/grabpage/grabpage.cpp
@@ -51,7 +51,7 @@ static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
#include "nsCRT.h"
#include "prprf.h"
-#ifdef XP_PC
+#ifdef XP_WIN
#include
#include
#include
@@ -252,7 +252,7 @@ PageGrabber::Grab(const nsAFlatCString& aURL)
}
// Enter the message pump to allow the URL load to proceed.
- #ifdef XP_PC
+ #ifdef XP_WIN
MSG msg;
while ( !copier->IsDone() ) {
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {