Index: tools/utf16le/CMakeLists.txt =================================================================== --- tools/utf16le/CMakeLists.txt (revision 63313) +++ tools/utf16le/CMakeLists.txt (working copy) @@ -1 +1,6 @@ +if(MSVC) + add_definitions(/EHsc) + remove_definitions(/Dinline=__inline) +endif() + add_executable(utf16le utf16le.cpp)