samsonov added a subscriber: samsonov. samsonov added a comment. Instead of special-casing on MSVC, can you `add check_c_compiler_flag(-std=c99 COMPILER_RT_HAS_STD_C99_FLAG)` to cmake/config-ix.cmake, and properly use it here? http://reviews.llvm.org/D13692