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