@@ -475,7 +475,8 @@ class WebsocketClient {
int main(int argc, char* argv[]) {
#ifdef _WIN32
- SetConsoleOutputCP(65001);
+ #include <windows.h>
+ SetConsoleOutputCP(65001);
#endif
google::InitGoogleLogging(argv[0]);
FLAGS_logtostderr = true;
@@ -342,6 +342,7 @@ class WebsocketClient {
SetConsoleOutputCP(65001);
@@ -25,6 +25,10 @@ void GetValue(TCLAP::ValueArg<std::string>& value_arg, string key,
}
+#ifdef _WIN32
+#endif
try {
@@ -26,6 +26,10 @@ void GetValue(TCLAP::ValueArg<std::string>& value_arg, string key,