[SPEC2DEF]

- In GCC builds, actually import by ordinal if -ordinal is specified. Found by Robert.

svn path=/trunk/; revision=63873
This commit is contained in:
Thomas Faber 2014-08-12 13:21:38 +00:00
parent 8094b5e493
commit f6304a30dc

View file

@ -664,6 +664,10 @@ ParseFile(char* pcStart, FILE *fileDest, PFNOUTLINE OutputLine)
else if (CompareToken(pc, "-ordinal"))
{
exp.uFlags |= FL_ORDINAL;
/* GCC doesn't automatically import by ordinal if an ordinal
* is found in the def file. Force it. */
if (gbImportLib && !gbMSComp)
exp.uFlags |= FL_NONAME;
}
else if (CompareToken(pc, "-stub"))
{