mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 00:12:57 +00:00
Remove "_" decoration from module entries, since MSVC doesn't need them
svn path=/trunk/; revision=22396
This commit is contained in:
parent
28ab213634
commit
8f8e389d3e
1 changed files with 7 additions and 7 deletions
|
@ -823,23 +823,23 @@ Module::GetDefaultModuleEntrypoint () const
|
||||||
switch ( type )
|
switch ( type )
|
||||||
{
|
{
|
||||||
case Kernel:
|
case Kernel:
|
||||||
return "_NtProcessStartup";
|
return "NtProcessStartup";
|
||||||
case KernelModeDLL:
|
case KernelModeDLL:
|
||||||
case KernelModeDriver:
|
case KernelModeDriver:
|
||||||
case ExportDriver:
|
case ExportDriver:
|
||||||
return "_DriverEntry@8";
|
return "DriverEntry@8";
|
||||||
case NativeDLL:
|
case NativeDLL:
|
||||||
return "_DllMainCRTStartup@12";
|
return "DllMainCRTStartup@12";
|
||||||
case NativeCUI:
|
case NativeCUI:
|
||||||
return "_NtProcessStartup@4";
|
return "NtProcessStartup@4";
|
||||||
case Win32DLL:
|
case Win32DLL:
|
||||||
return "_DllMain@12";
|
return "DllMain@12";
|
||||||
case Win32CUI:
|
case Win32CUI:
|
||||||
case Test:
|
case Test:
|
||||||
if ( isUnicode )
|
if ( isUnicode )
|
||||||
return "_wmainCRTStartup";
|
return "wmainCRTStartup";
|
||||||
else
|
else
|
||||||
return "_mainCRTStartup";
|
return "mainCRTStartup";
|
||||||
case Win32SCR:
|
case Win32SCR:
|
||||||
case Win32GUI:
|
case Win32GUI:
|
||||||
if ( isUnicode )
|
if ( isUnicode )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue