Add more defined sections for nintendo switch

This commit is contained in:
Joey Yakimowich-Payne 2018-06-22 10:47:37 +09:00
commit d3cf79e3e7
5 changed files with 45 additions and 16 deletions

View file

@ -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