add #ifndef XP_MAC around some other platforms pragma (invalid with current Macintosh tools); this will reduce warnings on Macintosh compiler

git-svn-id: svn://10.0.0.236/trunk@19593 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com 1999-02-03 22:58:49 +00:00
parent e6668b4d31
commit 84e66af259
2 changed files with 6 additions and 0 deletions

View File

@ -70,7 +70,10 @@ class nsScanner;
class nsIParserFilter;
#include <fstream.h>
#ifndef XP_MAC
#pragma warning( disable : 4275 )
#endif
CLASS_EXPORT_HTMLPARS nsParser : public nsIParser, public nsIStreamListener {

View File

@ -70,7 +70,10 @@ class nsScanner;
class nsIParserFilter;
#include <fstream.h>
#ifndef XP_MAC
#pragma warning( disable : 4275 )
#endif
CLASS_EXPORT_HTMLPARS nsParser : public nsIParser, public nsIStreamListener {