should be main, not __main
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4589 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
674cf5d3ba
commit
ee3369307f
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ def check_compile_flag(ctx, flag):
|
|||
ctx.env.Append(CCFLAGS = flag)
|
||||
|
||||
test = """
|
||||
int __main() {
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
||||
"""
|
||||
|
@ -43,7 +43,7 @@ def check_link_flag(ctx, flag):
|
|||
ctx.env.Append(LINKFLAGS = flag)
|
||||
|
||||
test = """
|
||||
int __main() {
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue