diff options
author | Al Hoang <13622+hoanga@users.noreply.github.com> | 2023-04-29 02:50:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 09:50:46 +0200 |
commit | a593e40ad614158a35c7d6f777e783b0c910c9ed (patch) | |
tree | 38bb6c56b4dfe49a19fc4c4fa5050310c831872d /lib/pure/asyncdispatch.nim | |
parent | 77093bf7b98539285aa358c0e22e6577387c2377 (diff) | |
download | Nim-a593e40ad614158a35c7d6f777e783b0c910c9ed.tar.gz |
fix build on haiku (#21752)
* missing maxDescriptors
Diffstat (limited to 'lib/pure/asyncdispatch.nim')
-rw-r--r-- | lib/pure/asyncdispatch.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/asyncdispatch.nim b/lib/pure/asyncdispatch.nim index 63062d8da..24c1ec3d5 100644 --- a/lib/pure/asyncdispatch.nim +++ b/lib/pure/asyncdispatch.nim @@ -2035,7 +2035,7 @@ when defined(posix): import posix when defined(linux) or defined(windows) or defined(macosx) or defined(bsd) or - defined(solaris) or defined(zephyr) or defined(freertos) or defined(nuttx): + defined(solaris) or defined(zephyr) or defined(freertos) or defined(nuttx) or defined(haiku): proc maxDescriptors*(): int {.raises: OSError.} = ## Returns the maximum number of active file descriptors for the current ## process. This involves a system call. For now `maxDescriptors` is |