mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 17:06:29 +00:00
-don't use an entrypoint when entrypoint is set to "0"
svn path=/trunk/; revision=22939
This commit is contained in:
parent
0c95e11038
commit
c742e77e3b
|
@ -443,7 +443,10 @@ MSVCBackend::_generate_vcproj ( const Module& module )
|
|||
}
|
||||
else if ( dll )
|
||||
{
|
||||
fprintf ( OUT, "\t\t\t\tEntryPointSymbol=\"%s%s\"\r\n", module.GetEntryPoint(false) == "" ? "" : "_", module.GetEntryPoint(false) == "" ? "_DllMainCRTStartup@12" : module.GetEntryPoint(false).c_str ());
|
||||
if (module.GetEntryPoint(false) == "0")
|
||||
fprintf ( OUT, "\t\t\t\tEntryPointSymbol=\"\"\r\n" );
|
||||
else
|
||||
fprintf ( OUT, "\t\t\t\tEntryPointSymbol=\"%s%s\"\r\n", module.GetEntryPoint(false) == "" ? "" : "_", module.GetEntryPoint(false) == "" ? "_DllMainCRTStartup@12" : module.GetEntryPoint(false).c_str ());
|
||||
fprintf ( OUT, "\t\t\t\tBaseAddress=\"%s\"\r\n", baseaddr == "" ? "0x40000" : baseaddr.c_str ());
|
||||
}
|
||||
fprintf ( OUT, "\t\t\t\tTargetMachine=\"%d\"/>\r\n", 1 );
|
||||
|
|
Loading…
Reference in a new issue