AIX can't do static casts either

This commit is contained in:
alecf%netscape.com 1999-02-27 04:29:44 +00:00
parent 188a3c6d82
commit 36bffa6c41

View File

@ -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)