From e1070926753e81e1d03dc5999f03e4ab0ba54160 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sun, 22 May 2016 19:33:50 -1000 Subject: [PATCH] Windows fixes --- driver/main.cpp | 1 + include/amuse/EffectBase.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/driver/main.cpp b/driver/main.cpp index fa60727..dd72ddb 100644 --- a/driver/main.cpp +++ b/driver/main.cpp @@ -917,6 +917,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE, LPWSTR lpCmdLine, int) booArgv[i+1] = argv[i]; logvisor::CreateWin32Console(); + SetConsoleOutputCP(65001); return wmain(argc+1, booArgv); } #endif diff --git a/include/amuse/EffectBase.hpp b/include/amuse/EffectBase.hpp index 67263dc..07d2aeb 100644 --- a/include/amuse/EffectBase.hpp +++ b/include/amuse/EffectBase.hpp @@ -6,7 +6,7 @@ namespace amuse { -class ChannelMap; +struct ChannelMap; class EffectBaseTypeless {