Bug 231104 - Checkin for Bug 195350 causes AIX build to segfault on startup.

r=bugmail@sicking.cc, sr=tor@acm.org
This commit is contained in:
pkw%us.ibm.com 2004-01-16 21:04:12 +00:00
parent b948cd4200
commit 7b60572a0e

View File

@ -42,8 +42,15 @@
#include "prbit.h"
#include "nsString.h"
/**
* Due to a compiler bug in VisualAge C++ for AIX, we need to return the
* address of the first index into mBuffer here, instead of simply returning
* mBuffer itself.
*
* See Bug 231104 for more information.
*/
#define ATTRS(_impl) \
NS_REINTERPRET_CAST(InternalAttr*, (_impl)->mBuffer)
NS_REINTERPRET_CAST(InternalAttr*, &((_impl)->mBuffer[0]))
#define NS_IMPL_EXTRA_SIZE \