mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 00:50:40 +00:00
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:
parent
b948cd4200
commit
7b60572a0e
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user