From 5c8c0ce4d817b1ae3cda104f27d09f62c940171e Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 5 May 2018 05:15:58 +0200 Subject: [PATCH] Add dmd 2.080.0 support --- .travis.yml | 3 ++- README.md | 3 ++- appveyor.yml | 6 ++++++ source/tanya/network/socket.d | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 27652f3..8712dc0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ os: language: d d: + - dmd-2.080.0 - dmd-2.079.1 - dmd-2.078.3 - dmd-2.077.1 @@ -22,7 +23,7 @@ addons: - gcc-multilib before_script: - - if [ "`$DC --version | head -n 1 | grep 'v2.079.1'`" ]; then + - if [ "`$DC --version | head -n 1 | grep 'v2.080.0'`" ]; then export UNITTEST="unittest-cov"; fi diff --git a/README.md b/README.md index aa3e6dd..04dab8c 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,8 @@ parameter is used) | DMD | GCC | |:-------:|:---------:| -| 2.079.1 | *master* | +| 2.080.0 | *master* | +| 2.079.1 | | | 2.078.3 | | | 2.077.1 | | diff --git a/appveyor.yml b/appveyor.yml index dffdf85..1e6f23f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,6 +3,12 @@ os: Visual Studio 2015 environment: matrix: + - DC: dmd + DVersion: 2.080.0 + arch: x64 + - DC: dmd + DVersion: 2.080.0 + arch: x86 - DC: dmd DVersion: 2.079.1 arch: x64 diff --git a/source/tanya/network/socket.d b/source/tanya/network/socket.d index d016da6..a7d304a 100644 --- a/source/tanya/network/socket.d +++ b/source/tanya/network/socket.d @@ -67,6 +67,7 @@ else version (Windows) send, setsockopt, shutdown, + SO_TYPE, SOCKADDR, sockaddr, sockaddr_in, @@ -75,7 +76,6 @@ else version (Windows) socket, socklen_t, SOL_SOCKET, - SO_TYPE, WSAGetLastError; import tanya.async.iocp; import tanya.sys.windows.def;