aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/ErrnoException.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/common/ErrnoException.hpp')
-rw-r--r--include/cru/common/ErrnoException.hpp6
1 files changed, 6 insertions, 0 deletions
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