mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
strip off stdcall decoration from amd64 entry points
svn path=/branches/ros-amd64-bringup/; revision=34740
This commit is contained in:
@@ -1316,6 +1316,14 @@ Module::GetEntryPoint(bool leadingUnderscore) const
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user