Add more defined sections for nintendo switch
This commit is contained in:
parent
9b300a5c9c
commit
d3cf79e3e7
5 changed files with 45 additions and 16 deletions
|
|
@ -176,7 +176,7 @@ else:
|
|||
else:
|
||||
type Time = int
|
||||
|
||||
when defined(linux) and defined(amd64) and defined(nintendoswitch):
|
||||
when (defined(linux) or defined(nintendoswitch)) and defined(amd64):
|
||||
type
|
||||
SysThread* {.importc: "pthread_t",
|
||||
header: "<sys/types.h>" .} = distinct culong
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue