diff --git a/deps/easyloggingpp.patch b/deps/easyloggingpp.patch index c2dfeff4..c97c249d 100644 --- a/deps/easyloggingpp.patch +++ b/deps/easyloggingpp.patch @@ -7,7 +7,7 @@ Subject: Do not send logs to output file (easyloggingpp) diff --git a/src/easylogging++.h b/src/easylogging++.h --- a/src/easylogging++.h +++ b/src/easylogging++.h -@@ -344,7 +344,10 @@ +@@ -342,7 +342,10 @@ ELPP_INTERNAL_DEBUGGING_OUT_INFO << ELPP_INTERNAL_DEBUGGING_MSG(internalInfoStre # include #elif ELPP_OS_WINDOWS # include @@ -15,15 +15,15 @@ diff --git a/src/easylogging++.h b/src/easylogging++.h # include +# undef WIN32_NO_STATUS +# include - # if defined(WIN32_LEAN_AND_MEAN) + # if defined(WIN32_LEAN_AND_MEAN) # if defined(ELPP_WINSOCK2) # include -@@ -822,7 +825,7 @@ namespace consts { - static const char* kDefaultLogFile = "logs/myeasylog.log"; +@@ -825,7 +828,7 @@ static const char* kDefaultLogFile = "logs/myeasylo + static const char* kDefaultLogFile = "logs/myeasylog.log"; # endif // ELPP_OS_ANDROID - # elif ELPP_OS_WINDOWS -- static const char* kDefaultLogFile = "logs\\myeasylog.log"; -+ static const char* kDefaultLogFile = "NUL"; - # endif // ELPP_OS_UNIX + # elif ELPP_OS_WINDOWS +-static const char* kDefaultLogFile = "logs\\myeasylog.log"; ++static const char* kDefaultLogFile = "NUL"; + # endif // ELPP_OS_UNIX #endif // defined(ELPP_DEFAULT_LOG_FILE) #if !defined(ELPP_DISABLE_LOG_FILE_FROM_ARG)