From 3566651cbbc7295a68671bec2eca4ab18e719a3a Mon Sep 17 00:00:00 2001 From: Rainer Schuetze Date: Fri, 20 Mar 2015 08:54:12 +0100 Subject: [PATCH] fix version: use CRuntime_Microsoft instead of Win64 --- std/process.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/process.d b/std/process.d index 5ecf2590cd5..763cb684974 100644 --- a/std/process.d +++ b/std/process.d @@ -990,7 +990,7 @@ unittest auto env = ["foo" : "bar"]; assert (wait(spawnShell(cmd~redir, env)) == 0); auto f = File(tmpFile, "a"); - version(Win64) f.seek(0, SEEK_END); // MSVCRT probably seeks to the end when writing, not before + version(CRuntime_Microsoft) f.seek(0, SEEK_END); // MSVCRT probably seeks to the end when writing, not before assert (wait(spawnShell(cmd, std.stdio.stdin, f, std.stdio.stderr, env)) == 0); f.close(); auto output = std.file.readText(tmpFile);