From 72417638d765f53df4fe4a73a9ae89c67090fe08 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 2 Jan 2019 16:21:55 +0100 Subject: [PATCH] racing:: fixed mkdir on Windows --- racing.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/racing.cpp b/racing.cpp index 664cd4f7..3d239c62 100644 --- a/racing.cpp +++ b/racing.cpp @@ -87,7 +87,11 @@ string ghost_filename(string seed, int mcode) { ghost_prefix = s + "/.hyperrogue/racing/"; } #else + #if WINDOWS + mkdir("racing"); + #else mkdir("racing", 0755); + #endif ghost_prefix = "racing/"; #endif }