mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
- Don't name-decorate the entrypoint. This lets msvc link the module properly and remains compatible with GCC.
svn path=/trunk/; revision=20639
This commit is contained in:
parent
44d2546ad8
commit
38b2f3f3cc
|
@ -817,7 +817,7 @@ Module::GetDefaultModuleEntrypoint () const
|
|||
case Kernel:
|
||||
return "_NtProcessStartup";
|
||||
case KernelModeDLL:
|
||||
return "_DriverEntry@8";
|
||||
return "DriverEntry";
|
||||
case NativeDLL:
|
||||
return "_DllMainCRTStartup@12";
|
||||
case NativeCUI:
|
||||
|
@ -836,7 +836,7 @@ Module::GetDefaultModuleEntrypoint () const
|
|||
else
|
||||
return "_WinMainCRTStartup";
|
||||
case KernelModeDriver:
|
||||
return "_DriverEntry@8";
|
||||
return "DriverEntry";
|
||||
case BuildTool:
|
||||
case StaticLibrary:
|
||||
case ObjectLibrary:
|
||||
|
|
Loading…
Reference in a new issue