Skip to content

Commit e57f277

Browse files
authored
Merge pull request #265 from compnerd/test
tests: fix test build
2 parents ab89c6c + 9ff5dc5 commit e57f277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/dispatch_queue_finalizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ main(void)
5050
{
5151
dispatch_test_start("Dispatch Queue Finalizer");
5252

53-
#if DISPATCH_SIZEOF_PTR == 8
53+
#if defined(__LP64__) || defined(_WIN64)
5454
ctxt_magic = (void*)((uintptr_t)arc4random() << 32 | arc4random());
5555
#else
5656
ctxt_magic = (void*)arc4random();

0 commit comments

Comments
 (0)