Commit 120f6edb authored by Harris Hancock's avatar Harris Hancock

Add MSVC to kj::String/std::string interop list

parent 2bbe35e2
...@@ -39,7 +39,7 @@ class StringTree; // string-tree.h ...@@ -39,7 +39,7 @@ class StringTree; // string-tree.h
// Our STL string SFINAE trick does not work with GCC 4.7, but it works with Clang and GCC 4.8, so // Our STL string SFINAE trick does not work with GCC 4.7, but it works with Clang and GCC 4.8, so
// we'll just preprocess it out if not supported. // we'll just preprocess it out if not supported.
#if __clang__ || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) #if __clang__ || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) || _MSC_VER
#define KJ_COMPILER_SUPPORTS_STL_STRING_INTEROP 1 #define KJ_COMPILER_SUPPORTS_STL_STRING_INTEROP 1
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment