aboutsummaryrefslogtreecommitdiff
path: root/core/thread
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-08-15 14:55:02 +0100
committergingerBill <bill@gingerbill.org>2023-08-15 14:55:02 +0100
commit2cc22d118d87dfcebce0051c1fb6a4cfad5cb851 (patch)
treef9397cb099e3e80f40ebbddc6f6342f333d68904 /core/thread
parent098d1d2b5e46dc792a56776d01b755aff7473822 (diff)
Require parentheses for `#align(N)`
Diffstat (limited to 'core/thread')
-rw-r--r--core/thread/thread_unix.odin2
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,