commit | b5cd3c7a7503d8155ea17424c00f7e77603252c0 | [log] [tgz] |
---|---|---|
author | Dmitriy Ivanov <dimitry@google.com> | Mon Mar 16 17:06:59 2015 -0700 |
committer | Dmitriy Ivanov <dimitry@google.com> | Mon Mar 16 17:06:59 2015 -0700 |
tree | 2e956c25c0f32ac89a3d4e360e8a96c2d917ee0d | |
parent | f14fe856b40afc38540988b408edc508298ec116 [diff] [blame] |
Fix build: align pthread_cond_t to sizeof(long) Change-Id: Ieaee6d09089b161ec516ba22cafaee1ecb4342da
diff --git a/libc/include/pthread.h b/libc/include/pthread.h index 38282ad..09ea113 100644 --- a/libc/include/pthread.h +++ b/libc/include/pthread.h
@@ -78,7 +78,7 @@ #else char __private[4]; #endif -} pthread_cond_t __attribute__((aligned(8))); +} pthread_cond_t __attribute__((aligned(sizeof(long)))); #define PTHREAD_COND_INITIALIZER { { 0 } }