Skip to content

Commit 152810b

Browse files
committed
Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg
1 parent e9fea2c commit 152810b

File tree

6 files changed

+0
-37
lines changed

6 files changed

+0
-37
lines changed

xpcom/base/nscore.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -371,21 +371,6 @@ typedef PRUint32 nsrefcnt;
371371
Need to add an autoconf test for this.
372372
*/
373373

374-
/* under Metrowerks (Mac), we don't have autoconf yet */
375-
#ifdef __MWERKS__
376-
#define HAVE_CPP_PARTIAL_SPECIALIZATION
377-
#define HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX
378-
379-
#define HAVE_CPP_ACCESS_CHANGING_USING
380-
#define HAVE_CPP_AMBIGUITY_RESOLVING_USING
381-
#define HAVE_CPP_EXPLICIT
382-
#define HAVE_CPP_TYPENAME
383-
#define HAVE_CPP_BOOL
384-
#define HAVE_CPP_NAMESPACE_STD
385-
#define HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL
386-
#define HAVE_CPP_2BYTE_WCHAR_T
387-
#endif
388-
389374
/* under VC++ (Windows), we don't have autoconf yet */
390375
#if defined(_MSC_VER) && (_MSC_VER>=1100)
391376
#define HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX

xpcom/ds/nsCppSharedAllocator.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55
#include NEW_H // to allow placement |new|
66

77

8-
// under Metrowerks (Mac), we don't have autoconf yet
9-
#ifdef __MWERKS__
10-
#define HAVE_CPP_MEMBER_TEMPLATES
11-
#define HAVE_CPP_NUMERIC_LIMITS
12-
#endif
13-
148
// under MSVC shut off copious warnings about unused in-lines
159
#ifdef _MSC_VER
1610
#pragma warning( disable: 4514 )

xpcom/tests/SizeTest02.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
#include "nsCOMPtr.h"
55
#include "nsString.h"
66

7-
#ifdef __MWERKS__
8-
#pragma exceptions off
9-
#endif
10-
117
NS_DEF_PTR(nsIDOMNode);
128

139
/*

xpcom/tests/SizeTest03.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
#include "nsCOMPtr.h"
55
#include "nsString.h"
66

7-
#ifdef __MWERKS__
8-
#pragma exceptions off
9-
#endif
10-
117
NS_DEF_PTR(nsIDOMNode);
128

139
/*

xpcom/tests/SizeTest04.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
#include "nsIDOMNode.h"
44
#include "nsCOMPtr.h"
55

6-
#ifdef __MWERKS__
7-
#pragma exceptions off
8-
#endif
9-
106
NS_DEF_PTR(nsIDOMNode);
117

128
/*

xpcom/tests/SizeTest05.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
#include "nsIDOMNode.h"
44
#include "nsCOMPtr.h"
55

6-
#ifdef __MWERKS__
7-
#pragma exceptions off
8-
#endif
9-
106
NS_DEF_PTR(nsIDOMNode);
117

128
/*

0 commit comments

Comments
 (0)