Merge pull request #420 from TsudaKageyu/remove-codecvt

Replaced codecvt with Win32 API.
This commit is contained in:
Lukáš Lalinský
2014-12-08 09:14:00 -08:00
5 changed files with 57 additions and 94 deletions

View File

@ -220,16 +220,6 @@ if(NOT HAVE_SNPRINTF)
" HAVE_SPRINTF_S)
endif()
# Determine whether your compiler supports codecvt.
check_cxx_source_compiles("
#include <codecvt>
int main() {
std::codecvt_utf8_utf16<wchar_t> x;
return 0;
}
" HAVE_STD_CODECVT)
# Check for libz using the cmake supplied FindZLIB.cmake
if(NOT ZLIB_SOURCE)