Author: tkreuzer
Date: Thu Jul 24 08:32:59 2008
New Revision: 34740
URL:
http://svn.reactos.org/svn/reactos?rev=34740&view=rev
Log:
strip off stdcall decoration from amd64 entry points
Modified:
branches/ros-amd64-bringup/reactos/tools/rbuild/module.cpp
Modified: branches/ros-amd64-bringup/reactos/tools/rbuild/module.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools…
==============================================================================
--- branches/ros-amd64-bringup/reactos/tools/rbuild/module.cpp [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/tools/rbuild/module.cpp [iso-8859-1] Thu Jul 24
08:32:59 2008
@@ -1316,6 +1316,14 @@
result = "_";
result += entrypoint;
+
+ if (Environment::GetArch() == "amd64")
+ {
+ size_t at_index = result.find_last_of( '@' );
+ if ( at_index != result.npos )
+ return result.substr (0, at_index );
+ }
+
return result;
}