Guess at fix for bug #30766

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31186 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-08-19 21:02:29 +00:00
parent 683414ae8b
commit 9390c9ae42
5 changed files with 805 additions and 4 deletions

View file

@ -73,7 +73,7 @@ extern "C" {
{
#if GS_EXPOSE(NSLock)
@private
gs_mutex_t _mutex;
gs_mutex_t _mutex __attribute__((aligned(GS_ALIGNOF_MUTEX_T)));
NSString *_name;
#endif
}
@ -117,8 +117,8 @@ extern "C" {
{
#if GS_EXPOSE(NSCondition)
@private
gs_cond_t _condition;
gs_mutex_t _mutex;
gs_cond_t _condition __attribute__((aligned(GS_ALIGNOF_COND_T)));
gs_mutex_t _mutex __attribute__((aligned(GS_ALIGNOF_MUTEX_T)));
NSString *_name;
#endif
}
@ -260,7 +260,7 @@ extern "C" {
{
#if GS_EXPOSE(NSRecursiveLock)
@private
gs_mutex_t _mutex;
gs_mutex_t _mutex __attribute__((aligned(GS_ALIGNOF_MUTEX_T)));
NSString *_name;
#endif
}