From 8647c6cd6825764b8cd69828c185bad14ffc8a7e Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Fri, 24 Mar 2017 23:57:42 +0100 Subject: testEncoding: include on Windows only --- Tests/CMakeLib/testEncoding.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/CMakeLib/testEncoding.cxx b/Tests/CMakeLib/testEncoding.cxx index 88743b0..20ba9e3 100644 --- a/Tests/CMakeLib/testEncoding.cxx +++ b/Tests/CMakeLib/testEncoding.cxx @@ -2,7 +2,9 @@ #include #include +#ifdef _WIN32 #include +#endif #ifdef _WIN32 void setEncoding(cmsys::ConsoleBuf::Manager& buf, UINT codepage) -- cgit v0.12