diff options
author | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2018-03-15 15:44:12 +0200 |
---|---|---|
committer | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2018-03-15 15:49:41 +0200 |
commit | 1bd0efb067b7c1939f4d68c9014b7d67cb4e7020 (patch) | |
tree | de19132fa3bbcc961e9c3ea1ecb2d448ce949afb /lib/windows | |
parent | 29bb10b1854206015ad411f5b77c8fcd8aa90024 (diff) | |
download | Nim-1bd0efb067b7c1939f4d68c9014b7d67cb4e7020.tar.gz |
Fixed crash/interface. Added tests.
Diffstat (limited to 'lib/windows')
-rw-r--r-- | lib/windows/winlean.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/windows/winlean.nim b/lib/windows/winlean.nim index b2c1cc1f5..b2afd3f69 100644 --- a/lib/windows/winlean.nim +++ b/lib/windows/winlean.nim @@ -481,6 +481,10 @@ type sin6_flowinfo*: int32 # unsigned sin6_addr*: In6_addr + Sockaddr_storage* {.importc: "SOCKADDR_STORAGE", + header: "winsock2.h".} = object + ss_family*: int16 + Servent* = object s_name*: cstring s_aliases*: cstringArray |