Skip to content

Commit 4d65ed4

Browse files
committed
dispatch: adjust for LLP64 environments
Use the internal `DISPATCH_SIZEOF_POINTER` rather than `__LP64__` which does not account for LLP64 environments.
1 parent 38b2c60 commit 4d65ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/queue_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ struct dispatch_apply_attr_s {
12401240
uint32_t flags;
12411241
size_t per_cluster_parallelism;
12421242
uintptr_t guard; /* To prevent copying */
1243-
#if defined(__LP64__)
1243+
#if DISPATCH_SIZEOF_PTR == 8
12441244
uint8_t unused[40];
12451245
#else
12461246
uint8_t unused[48];

0 commit comments

Comments
 (0)