mirror of https://github.com/adamdruppe/arsd.git
binding since phobos blocks now
This commit is contained in:
parent
c511dc2719
commit
0a3018d399
19
cgi.d
19
cgi.d
|
|
@ -3987,12 +3987,27 @@ version(cgi_with_websocket) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
version(Windows)
|
||||||
|
{
|
||||||
|
version(CRuntime_DigitalMars)
|
||||||
|
{
|
||||||
|
extern(C) int setmode(int, int) nothrow @nogc;
|
||||||
|
}
|
||||||
|
else version(CRuntime_Microsoft)
|
||||||
|
{
|
||||||
|
extern(C) int _setmode(int, int) nothrow @nogc;
|
||||||
|
alias setmode = _setmode;
|
||||||
|
}
|
||||||
|
else static assert(0);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright: Adam D. Ruppe, 2008 - 2015
|
Copyright: Adam D. Ruppe, 2008 - 2016
|
||||||
License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
|
License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
|
||||||
Authors: Adam D. Ruppe
|
Authors: Adam D. Ruppe
|
||||||
|
|
||||||
Copyright Adam D. Ruppe 2008 - 2015.
|
Copyright Adam D. Ruppe 2008 - 2016.
|
||||||
Distributed under the Boost Software License, Version 1.0.
|
Distributed under the Boost Software License, Version 1.0.
|
||||||
(See accompanying file LICENSE_1_0.txt or copy at
|
(See accompanying file LICENSE_1_0.txt or copy at
|
||||||
http://www.boost.org/LICENSE_1_0.txt)
|
http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue