Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls.

This commit is contained in:
bryner@netscape.com
2002-08-19 03:50:27 +00:00
parent da9cf6b104
commit 3255ebf24a
14 changed files with 22 additions and 12 deletions

View File

@@ -36,7 +36,7 @@
*
* ***** END LICENSE BLOCK ***** */
#include <new.h> // for placement new
#include NEW_H // for placement new
#include "nscore.h"
#include "nsCRT.h"