mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 09:43:04 +00:00
[SPEC2DEF]
Ignore redirections for c++ symbols, since this doesn't work with link svn path=/trunk/; revision=53197
This commit is contained in:
parent
ef41655991
commit
28defeaade
1 changed files with 11 additions and 3 deletions
|
@ -338,10 +338,18 @@ OutputLine_def(FILE *fileDest, EXPORT *pexp)
|
||||||
}
|
}
|
||||||
else if (pexp->pcRedirection)
|
else if (pexp->pcRedirection)
|
||||||
{
|
{
|
||||||
int fDeco = ((giArch == ARCH_X86) && !ScanToken(pexp->pcRedirection, '.'));
|
if (gbMSComp && (pexp->pcName[0] == '?'))
|
||||||
|
{
|
||||||
|
/* ignore c++ redirection, since link doesn't like that! */
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
int fDeco;
|
||||||
|
|
||||||
fprintf(fileDest, "=");
|
fDeco = ((giArch == ARCH_X86) && !ScanToken(pexp->pcRedirection, '.'));
|
||||||
PrintName(fileDest, pexp, "", 1, fDeco && !gbMSComp);
|
fprintf(fileDest, "=");
|
||||||
|
PrintName(fileDest, pexp, "", 1, fDeco && !gbMSComp);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (((pexp->uFlags & FL_STUB) || (pexp->nCallingConvention == CC_STUB)) &&
|
else if (((pexp->uFlags & FL_STUB) || (pexp->nCallingConvention == CC_STUB)) &&
|
||||||
(pexp->pcName[0] == '?'))
|
(pexp->pcName[0] == '?'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue