You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-lang/nim/files/nim-1.6.14-clang16-musl-fix...

14 lines
625 B

Bug: https://bugs.gentoo.org/894410
Refer: https://github.com/nim-lang/Nim/issues/20886#issuecomment-1511708198
--- a/lib/system/threadlocalstorage.nim
+++ b/lib/system/threadlocalstorage.nim
@@ -129,7 +129,7 @@ else:
when (defined(linux) or defined(nintendoswitch)) and defined(amd64):
type
SysThread* {.importc: "pthread_t",
- header: "<sys/types.h>" .} = distinct culong
+ header: "<sys/types.h>" .} = distinct pointer
Pthread_attr {.importc: "pthread_attr_t",
header: "<sys/types.h>".} = object
abi: array[56 div sizeof(clong), clong]