Merge pull request #1430 from sukhodolin/Fixes
Fix debug output on Win32
This commit is contained in:
commit
5aa5dd4609
1
.gitignore
vendored
1
.gitignore
vendored
@ -71,6 +71,7 @@ Release-*
|
|||||||
*.vcxproj.*
|
*.vcxproj.*
|
||||||
*.vcproj
|
*.vcproj
|
||||||
*.vcproj.*
|
*.vcproj.*
|
||||||
|
*.aps
|
||||||
*.sdf
|
*.sdf
|
||||||
*.sln
|
*.sln
|
||||||
*.suo
|
*.suo
|
||||||
|
@ -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.
Loading…
Reference in New Issue
Block a user