Skip to content

Commit

Permalink
Fixed undefined error code on winexe templated main.
Browse files Browse the repository at this point in the history
  • Loading branch information
kekyo committed May 8, 2022
1 parent fbc45ed commit 3732559
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<IL2CNativeCompilerConditionalFlags Condition="'$(IL2CConfiguration)' == 'Debug'">$(_IL2C_GCC_DebugFlags)</IL2CNativeCompilerConditionalFlags>
<IL2CNativeCompilerConditionalFlags Condition="'$(IL2CConfiguration)' == 'Release'">$(_IL2C_GCC_ReleaseFlags)</IL2CNativeCompilerConditionalFlags>
<IL2CNativeMainTemplatePath Condition="'$(OutputType)' == 'WinExe'">$(_IL2C_WinExeMainTemplatePath)</IL2CNativeMainTemplatePath>
<IL2CNativeCompilerRequiredFlags Condition="'$(OutputType)' == 'WinExe'">$(IL2CNativeCompilerRequiredFlags) -mwindows</IL2CNativeCompilerRequiredFlags>
</PropertyGroup>

</Target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
////////////////////////////////////////////////////////////////////////////

#include <il2c.h>
#include <windows.h>
#include <{headerName}>

#ifdef __cplusplus
Expand Down

0 comments on commit 3732559

Please sign in to comment.