- 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:
Alex Ionescu 2006-01-07 01:27:20 +00:00
parent 44d2546ad8
commit 38b2f3f3cc

View file

@ -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: