File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,21 @@ limitations under the License.
1616#include " base.h"
1717
1818#include < string>
19- #ifdef _WIN32
19+ #if defined(COMPILER_MSVC) || defined( _WIN32)
2020#include < sstream>
21- #endif // _WIN32
21+ #endif // defined(COMPILER_MSVC) || defined( _WIN32)
2222
2323namespace chrome_lang_id {
2424
2525// TODO(abakalov): Pick the most efficient approach.
26- #ifdef _WIN32
26+ #if defined(COMPILER_MSVC) || defined( _WIN32)
2727std::string Int64ToString (int64 input) {
2828 std::stringstream stream;
2929 stream << input;
3030 return stream.str ();
3131}
3232#else
3333std::string Int64ToString (int64 input) { return std::to_string (input); }
34- #endif // _WIN32
34+ #endif // defined(COMPILER_MSVC) || defined( _WIN32)
3535
3636} // namespace chrome_lang_id
You can’t perform that action at this time.
0 commit comments