From 419a458ad9d4383eb47d51fe8e4408a0e240c2f1 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 5 Apr 2024 16:04:46 +0200 Subject: Consistently guard all POSIX C includes --- src/buildtool/system/system.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/buildtool/system/system.cpp') diff --git a/src/buildtool/system/system.cpp b/src/buildtool/system/system.cpp index c84f34cf..228c7806 100644 --- a/src/buildtool/system/system.cpp +++ b/src/buildtool/system/system.cpp @@ -18,7 +18,11 @@ #include #include +#ifdef __unix__ #include +#else +#error "Non-unix is not supported yet" +#endif void System::ExitWithoutCleanup(int exit_code) { #ifdef VALGRIND_BUILD -- cgit v1.2.3