diff options
-rw-r--r-- | lib/system/threadlocalstorage.nim | 2 | ||||
-rw-r--r-- | tests/generics/tthread_generic.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/threadlocalstorage.nim b/lib/system/threadlocalstorage.nim index cea9abb42..b62c903c3 100644 --- a/lib/system/threadlocalstorage.nim +++ b/lib/system/threadlocalstorage.nim @@ -141,7 +141,7 @@ else: header: "<pthread.h>".} = cint else: type - SysThread* {.importc: "pthread_t", header: "<sys/types.h>".} = object + SysThread* {.importc: "pthread_t", header: "<sys/types.h>".} = int Pthread_attr {.importc: "pthread_attr_t", header: "<sys/types.h>".} = object ThreadVarSlot {.importc: "pthread_key_t", diff --git a/tests/generics/tthread_generic.nim b/tests/generics/tthread_generic.nim index 2af5a7615..300da56a6 100644 --- a/tests/generics/tthread_generic.nim +++ b/tests/generics/tthread_generic.nim @@ -1,5 +1,5 @@ discard """ - cmd: "nim $target --hints:on --threads:on $options $file" + matrix: "--mm:refc; --mm:orc" action: compile """ |