From 38b2f3f3cc3abd1084a10e9ae875c14d70b64b69 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sat, 7 Jan 2006 01:27:20 +0000 Subject: [PATCH 1/1] - Don't name-decorate the entrypoint. This lets msvc link the module properly and remains compatible with GCC. svn path=/trunk/; revision=20639 --- reactos/tools/rbuild/module.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/tools/rbuild/module.cpp b/reactos/tools/rbuild/module.cpp index 69d577fb57e..ab0863b43e8 100644 --- a/reactos/tools/rbuild/module.cpp +++ b/reactos/tools/rbuild/module.cpp @@ -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: -- 2.17.1