got rid of 'accept' dir in the tests
This commit is contained in:
parent
d0772feb08
commit
a274f3bf5b
264 changed files with 5 additions and 7 deletions
19
tests/compile/tmodulealias.nim
Executable file
19
tests/compile/tmodulealias.nim
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
discard """
|
||||
disabled: true
|
||||
"""
|
||||
|
||||
when defined(windows):
|
||||
import winlean
|
||||
else:
|
||||
import posix
|
||||
|
||||
when defined(Windows):
|
||||
template orig: expr =
|
||||
winlean
|
||||
else:
|
||||
template orig: expr =
|
||||
posix
|
||||
|
||||
proc socket(domain, typ, protocol: int): int =
|
||||
result = orig.socket(ord(domain), ord(typ), ord(protocol)))
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue