From 8ce573df43a89bffa7d679ee1508a29c49bb244f Mon Sep 17 00:00:00 2001 From: "brade%netscape.com" Date: Wed, 3 Feb 1999 22:58:49 +0000 Subject: [PATCH] add #ifndef XP_MAC around some other platforms pragma (invalid with current Macintosh tools); this will reduce warnings on Macintosh compiler --- htmlparser/src/nsParser.h | 3 +++ parser/htmlparser/src/nsParser.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/htmlparser/src/nsParser.h b/htmlparser/src/nsParser.h index adc5ff7de55..530c60e1466 100644 --- a/htmlparser/src/nsParser.h +++ b/htmlparser/src/nsParser.h @@ -70,7 +70,10 @@ class nsScanner; class nsIParserFilter; #include +#ifndef XP_MAC #pragma warning( disable : 4275 ) +#endif + CLASS_EXPORT_HTMLPARS nsParser : public nsIParser, public nsIStreamListener { diff --git a/parser/htmlparser/src/nsParser.h b/parser/htmlparser/src/nsParser.h index adc5ff7de55..530c60e1466 100644 --- a/parser/htmlparser/src/nsParser.h +++ b/parser/htmlparser/src/nsParser.h @@ -70,7 +70,10 @@ class nsScanner; class nsIParserFilter; #include +#ifndef XP_MAC #pragma warning( disable : 4275 ) +#endif + CLASS_EXPORT_HTMLPARS nsParser : public nsIParser, public nsIStreamListener {