Win32 only : Advertise we need a console when the program is linked as a 'Windows' subsystem
This commit is contained in:
parent
8de6a69e3e
commit
ec4887d1d2
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ int main ( int argc, char **argv );
|
||||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||||||
LPSTR lpCmdLine, int nCmdShow) {
|
LPSTR lpCmdLine, int nCmdShow) {
|
||||||
|
|
||||||
|
logbuf::has_no_console();
|
||||||
main( __argc, __argv );
|
main( __argc, __argv );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue