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:
@@ -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
|
||||
|
Reference in New Issue
Block a user