[SPEC2DEF]

- fix forward name export for c++ mangled functions.

svn path=/trunk/; revision=52768
This commit is contained in:
Jérôme Gardou 2011-07-21 21:13:28 +00:00
parent fe6c036e04
commit 39b9815f2e

View file

@ -348,7 +348,7 @@ OutputLine_def(FILE *fileDest, EXPORT *pexp)
{ {
/* C++ stubs are forwarded to C stubs */ /* C++ stubs are forwarded to C stubs */
fprintf(fileDest, "="); fprintf(fileDest, "=");
fprintf(fileDest, "stub_function%d(", pexp->nNumber); fprintf(fileDest, "stub_function%d", pexp->nNumber);
} }
else if ((giArch == ARCH_X86) && gbKillAt && !gbMSComp && else if ((giArch == ARCH_X86) && gbKillAt && !gbMSComp &&
(pexp->nCallingConvention == CC_STDCALL || (pexp->nCallingConvention == CC_STDCALL ||