diff options
| author | gingerBill <bill@gingerbill.org> | 2023-08-15 14:55:02 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-08-15 14:55:02 +0100 |
| commit | 2cc22d118d87dfcebce0051c1fb6a4cfad5cb851 (patch) | |
| tree | f9397cb099e3e80f40ebbddc6f6342f333d68904 /core/thread | |
| parent | 098d1d2b5e46dc792a56776d01b755aff7473822 (diff) | |
Require parentheses for `#align(N)`
Diffstat (limited to 'core/thread')
| -rw-r--r-- | core/thread/thread_unix.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/thread/thread_unix.odin b/core/thread/thread_unix.odin index 6e734a03a..c73085ef6 100644 --- a/core/thread/thread_unix.odin +++ b/core/thread/thread_unix.odin @@ -10,7 +10,7 @@ CAS :: intrinsics.atomic_compare_exchange_strong // NOTE(tetra): Aligned here because of core/unix/pthread_linux.odin/pthread_t. // Also see core/sys/darwin/mach_darwin.odin/semaphore_t. -Thread_Os_Specific :: struct #align 16 { +Thread_Os_Specific :: struct #align(16) { unix_thread: unix.pthread_t, // NOTE: very large on Darwin, small on Linux. cond: sync.Cond, mutex: sync.Mutex, |