Changes for MinGW compiler

This commit is contained in:
Constantine Tarasenkov
2014-06-11 02:38:57 +04:00
parent e2cbee77b8
commit 6aace693db
5 changed files with 15 additions and 4 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ using fmt::StringRef;
namespace {
std::string GetSystemErrorMessage(int error_code) {
#ifndef _WIN32
#if defined(__MINGW32__) || !defined(_WIN32)
return strerror(error_code);
#else
enum { BUFFER_SIZE = 200 };