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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user