Skip to content

Commit

Permalink
Fix for dmd (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
gecko0307 committed Jul 8, 2020
1 parent 7c4b414 commit 68da236
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
dlib 0.19.1 - TBD
-----------------
- **dlib.network**
- Fixed compilation under Windows

dlib 0.19.0 - 31 May, 2020
--------------------------
Changes since beta2:
Expand Down
9 changes: 8 additions & 1 deletion dlib/network/errno.d
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@ version(Windows)

enum: int
{
ESOCKTNOSUPPORT = core.sys.windows.winsock2.ESOCKTNOSUPPORT
ECONNABORTED = core.sys.windows.winsock2.ECONNABORTED,
ENOBUFS = core.sys.windows.winsock2.ENOBUFS,
EOPNOTSUPP = core.sys.windows.winsock2.EOPNOTSUPP,
EPROTONOSUPPORT = core.sys.windows.winsock2.EPROTONOSUPPORT,
EPROTOTYPE = core.sys.windows.winsock2.EPROTOTYPE,
ESOCKTNOSUPPORT = core.sys.windows.winsock2.ESOCKTNOSUPPORT,
ETIMEDOUT = core.sys.windows.winsock2.ETIMEDOUT,
EWOULDBLOCK = core.sys.windows.winsock2.EWOULDBLOCK
}
}
else version (OSX)
Expand Down

0 comments on commit 68da236

Please sign in to comment.