projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8094b5e
)
[SPEC2DEF]
author
Thomas Faber
<thomas.faber@reactos.org>
Tue, 12 Aug 2014 13:21:38 +0000
(13:21 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Tue, 12 Aug 2014 13:21:38 +0000
(13:21 +0000)
- In GCC builds, actually import by ordinal if -ordinal is specified. Found by Robert.
svn path=/trunk/; revision=63873
reactos/tools/spec2def/spec2def.c
patch
|
blob
|
history
diff --git
a/reactos/tools/spec2def/spec2def.c
b/reactos/tools/spec2def/spec2def.c
index
2b79693
..
11a7862
100644
(file)
--- a/
reactos/tools/spec2def/spec2def.c
+++ b/
reactos/tools/spec2def/spec2def.c
@@
-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"))
{