Merge pull request #1430 from sukhodolin/Fixes

Fix debug output on Win32
This commit is contained in:
Hardening 2014-05-20 15:14:22 +02:00
commit 5aa5dd4609
3 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -71,6 +71,7 @@ Release-*
*.vcxproj.* *.vcxproj.*
*.vcproj *.vcproj
*.vcproj.* *.vcproj.*
*.aps
*.sdf *.sdf
*.sln *.sln
*.suo *.suo

View File

@ -65,6 +65,8 @@ int wf_create_console(void)
return 1; return 1;
freopen("CONOUT$", "w", stdout); freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);
fprintf(stderr, "Debug console created.\n"); fprintf(stderr, "Debug console created.\n");
return 0; return 0;

Binary file not shown.