Fix build: align pthread_cond_t to sizeof(long)
Change-Id: Ieaee6d09089b161ec516ba22cafaee1ecb4342da
This commit is contained in:
parent
f14fe856b4
commit
b5cd3c7a75
@ -78,7 +78,7 @@ typedef struct {
|
|||||||
#else
|
#else
|
||||||
char __private[4];
|
char __private[4];
|
||||||
#endif
|
#endif
|
||||||
} pthread_cond_t __attribute__((aligned(8)));
|
} pthread_cond_t __attribute__((aligned(sizeof(long))));
|
||||||
|
|
||||||
#define PTHREAD_COND_INITIALIZER { { 0 } }
|
#define PTHREAD_COND_INITIALIZER { { 0 } }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user