mirror of
https://github.com/reactos/reactos.git
synced 2026-06-20 07:42:12 +08:00
[SPEC2DEF] Omit skipped exports from ordinal numbering.
CORE-16769
This commit is contained in:
@@ -1332,7 +1332,7 @@ ApplyOrdinals(EXPORT* pexports, unsigned cExports)
|
||||
/* Pass 2: apply available ordinals */
|
||||
for (i = 0, j = 1; i < cExports; i++)
|
||||
{
|
||||
if ((pexports[i].uFlags & FL_ORDINAL) == 0)
|
||||
if ((pexports[i].uFlags & FL_ORDINAL) == 0 && pexports[i].bVersionIncluded)
|
||||
{
|
||||
while (used[j] != 0)
|
||||
j++;
|
||||
|
||||
Reference in New Issue
Block a user