From 36bffa6c41191d3f5a635b58b0f1851c42240ec1 Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Sat, 27 Feb 1999 04:29:44 +0000 Subject: [PATCH] AIX can't do static casts either --- base/src/nscore.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/src/nscore.h b/base/src/nscore.h index 5a70d2d30530..ca3286890178 100644 --- a/base/src/nscore.h +++ b/base/src/nscore.h @@ -155,6 +155,10 @@ typedef PRUcs2 PRUnichar; #undef HAS_C_PLUS_PLUS_CASTS #endif +#if defined(AIX) +#undef HAS_C_PLUS_PLUS_CASTS +#endif + #if defined(HAS_C_PLUS_PLUS_CASTS) #define NS_STATIC_CAST(__type, __ptr) static_cast<__type>(__ptr) #define NS_CONST_CAST(__type, __ptr) const_cast<__type>(__ptr)