OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28654c9
)
Fix build: align pthread_cond_t to sizeof(long)
author
Dmitriy Ivanov
<dimitry@google.com>
Tue, 17 Mar 2015 00:06:59 +0000
(17:06 -0700)
committer
Christopher Ferris
<cferris@google.com>
Tue, 17 Mar 2015 00:44:05 +0000
(17:44 -0700)
(cherry picked from commit
b5cd3c7a7503d8155ea17424c00f7e77603252c0
)
Change-Id: I69d8feeda2c8e0423c5626bcd40914e7eb9d85e4
libc/include/pthread.h
patch
|
blob
|
history
diff --git
a/libc/include/pthread.h
b/libc/include/pthread.h
index
38282ad
..
09ea113
100644
(file)
--- a/
libc/include/pthread.h
+++ b/
libc/include/pthread.h
@@
-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 } }