mirror of https://github.com/adamdruppe/arsd.git
mistake here from 2011 wow
This commit is contained in:
parent
ae71b80e63
commit
f8cd68131a
2
cgi.d
2
cgi.d
|
@ -564,7 +564,7 @@ private struct stdin {
|
||||||
import core.sys.windows.windows;
|
import core.sys.windows.windows;
|
||||||
static:
|
static:
|
||||||
|
|
||||||
static this() {
|
shared static this() {
|
||||||
// Set stdin to binary mode
|
// Set stdin to binary mode
|
||||||
version(Win64)
|
version(Win64)
|
||||||
_setmode(std.stdio.stdin.fileno(), 0x8000);
|
_setmode(std.stdio.stdin.fileno(), 0x8000);
|
||||||
|
|
Loading…
Reference in New Issue