"Check!!!" comments about forwards can be useful for ordinal-only symbols
(without name) too even when function arguments are fully detected.
---
mingw-w64-tools/gendef/src/gendef.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mingw-w64-tools/gendef/src/gendef.c
b/mingw-w64-tools/gendef/src/gendef.c
index 35b5ebddfb75..a1c9795fdff9 100644
--- a/mingw-w64-tools/gendef/src/gendef.c
+++ b/mingw-w64-tools/gendef/src/gendef.c
@@ -829,7 +829,7 @@ dump_def (void)
if (exp->retpop != (uint32_t) -1 && !exp->be64 && has_atdecoration() &&
exp->name[0] == '?')
fprintf(fp," ; has WINAPI (@%u)", (unsigned int) exp->retpop);
- if (exp->retpop != (uint32_t) -1 || (exp->retpop == 0 && exp->be64) ||
!has_atdecoration ())
+ if (exp->name[0] != 0 && (exp->retpop != (uint32_t) -1 || (exp->retpop
== 0 && exp->be64) || !has_atdecoration ()))
{
}
else if (pimpname)
--
2.20.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public