From e690d40e0bca67f1212d9e2d2c00a160bf1940cc Mon Sep 17 00:00:00 2001 From: Walter Bright Date: Wed, 21 Jun 2023 01:46:06 -0700 Subject: [PATCH] std.stdio: add default case --- std/stdio.d | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/std/stdio.d b/std/stdio.d index 5ed685fe7..aa9981021 100644 --- a/std/stdio.d +++ b/std/stdio.d @@ -129,6 +129,10 @@ else version (Solaris) { version = GENERIC_IO; } +else +{ + static assert(0, "unsupported operating system"); +} // Character type used for operating system filesystem APIs version (Windows)