[SPEC2DEF]

- Fix the order of NONAME/PRIVATE/DATA in def file output

svn path=/trunk/; revision=61280
This commit is contained in:
Thomas Faber 2013-12-15 22:01:53 +00:00
parent 91a2cc0cad
commit b02c8bafe8

View file

@ -481,9 +481,9 @@ OutputLine_def(FILE *fileDest, EXPORT *pexp)
fprintf(fileDest, " @%d", pexp->nOrdinal);
}
if (pexp->nCallingConvention == CC_EXTERN)
if (pexp->uFlags & FL_NONAME)
{
fprintf(fileDest, " DATA");
fprintf(fileDest, " NONAME");
}
if (pexp->uFlags & FL_PRIVATE)
@ -491,9 +491,9 @@ OutputLine_def(FILE *fileDest, EXPORT *pexp)
fprintf(fileDest, " PRIVATE");
}
if (pexp->uFlags & FL_NONAME)
if (pexp->nCallingConvention == CC_EXTERN)
{
fprintf(fileDest, " NONAME");
fprintf(fileDest, " DATA");
}
fprintf(fileDest, "\n");