diff --git a/cgi.d b/cgi.d index 68d8f95..cfae352 100644 --- a/cgi.d +++ b/cgi.d @@ -564,7 +564,7 @@ private struct stdin { import core.sys.windows.windows; static: - static this() { + shared static this() { // Set stdin to binary mode version(Win64) _setmode(std.stdio.stdin.fileno(), 0x8000);