mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-11 03:39:31 +00:00
@@ -134,11 +134,11 @@ nimblepath="$home/.nimble/pkgs/"
|
||||
# BSD got posix_spawn only recently, so we deactivate it for osproc:
|
||||
define:useFork
|
||||
@elif haiku:
|
||||
gcc.options.linker = "-Wl,--as-needed -lnetwork"
|
||||
gcc.cpp.options.linker = "-Wl,--as-needed -lnetwork"
|
||||
clang.options.linker = "-Wl,--as-needed -lnetwork"
|
||||
clang.cpp.options.linker = "-Wl,--as-needed -lnetwork"
|
||||
tcc.options.linker = "-Wl,--as-needed -lnetwork"
|
||||
gcc.options.linker = "-Wl,--as-needed -lnetwork -lbsd"
|
||||
gcc.cpp.options.linker = "-Wl,--as-needed -lnetwork -lbsd"
|
||||
clang.options.linker = "-Wl,--as-needed -lnetwork -lbsd"
|
||||
clang.cpp.options.linker = "-Wl,--as-needed -lnetwork -lbsd"
|
||||
tcc.options.linker = "-Wl,--as-needed -lnetwork -lbsd"
|
||||
@elif not genode:
|
||||
# -fopenmp
|
||||
gcc.options.linker = "-ldl"
|
||||
|
||||
@@ -28,6 +28,15 @@ elif defined(netbsd):
|
||||
EVFILT_PROC* = 4 ## attached to struct proc
|
||||
EVFILT_SIGNAL* = 5 ## attached to struct proc
|
||||
EVFILT_TIMER* = 6 ## timers (in ms)
|
||||
elif defined(haiku):
|
||||
const
|
||||
EVFILT_READ* = -1
|
||||
EVFILT_WRITE* = -2
|
||||
EVFILT_AIO* = -3 ## attached to aio requests
|
||||
EVFILT_VNODE* = -4 ## attached to vnodes
|
||||
EVFILT_PROC* = -5 ## attached to struct proc
|
||||
EVFILT_SIGNAL* = -6 ## attached to struct proc
|
||||
EVFILT_TIMER* = -7 ## timers
|
||||
when defined(macosx):
|
||||
const
|
||||
EVFILT_MACHPORT* = -8 ## Mach portsets
|
||||
|
||||
Reference in New Issue
Block a user