From b6757b263ed304aed22eb2a472805f87bfb67f3a Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 15 Jan 2022 18:42:32 +0800 Subject: ... --- include/cru/common/ErrnoException.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/cru/common/ErrnoException.hpp') diff --git a/include/cru/common/ErrnoException.hpp b/include/cru/common/ErrnoException.hpp index 6feb1aca..d1390cf2 100644 --- a/include/cru/common/ErrnoException.hpp +++ b/include/cru/common/ErrnoException.hpp @@ -1,5 +1,9 @@ #pragma once +#include "PreConfig.hpp" + +#ifdef CRU_PLATFORM_UNIX + #include "Exception.hpp" namespace cru { @@ -20,3 +24,5 @@ class ErrnoException : public Exception { int errno_code_; }; } // namespace cru + +#endif -- cgit v1.2.3