Skip to content

Commit

Permalink
Fix #12135 and #12109 (#12137)
Browse files Browse the repository at this point in the history
* Fix #12135 and fix #12109 - fix OpenBSD type defs

* Fix Mode definition as in #12132
  • Loading branch information
euantorano authored and Araq committed Nov 11, 2019
1 parent 0c4d812 commit 7e68987
Show file tree
Hide file tree
Showing 3 changed files with 570 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/posix/posix.nim
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ const StatHasNanoseconds* = defined(linux) or defined(freebsd) or

when (defined(linux) and not defined(android)) and defined(amd64):
include posix_linux_amd64
elif defined(openbsd) and defined(amd64):
include posix_openbsd_amd64
elif (defined(macos) or defined(macosx) or defined(bsd)) and defined(cpu64):
include posix_macos_amd64
elif defined(nintendoswitch):
Expand Down
Loading

0 comments on commit 7e68987

Please sign in to comment.