1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

compiler: add [console] attribute for main function to force console subsystem on windows (#7721)

This commit is contained in:
Emily Hudson
2020-12-31 05:38:55 -06:00
committed by GitHub
parent a834f33661
commit bf9b0c6345
5 changed files with 18 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ pub const (
#flag linux -DSOKOL_NO_ENTRY
#flag darwin -DSOKOL_NO_ENTRY
#flag windows -DSOKOL_NO_ENTRY
#flag windows -DSOKOL_WIN32_FORCE_MAIN
#flag freebsd -DSOKOL_NO_ENTRY
#flag solaris -DSOKOL_NO_ENTRY
// TODO end