Revert "Fix missing parameter"

This reverts commit 1a8fb94350.
This commit is contained in:
mingodad 2021-10-22 07:37:39 +02:00
parent 1a8fb94350
commit d33f582e25

View file

@ -868,7 +868,7 @@ static void pe_build_imports(struct pe_info *pe)
v = (ADDR3264)GetProcAddress(dllref->handle, ordinal?(char*)0+ordinal:name); v = (ADDR3264)GetProcAddress(dllref->handle, ordinal?(char*)0+ordinal:name);
} }
if (!v) if (!v)
tcc_error_noabort(pe->S, "could not resolve symbol '%s'", name); tcc_error_noabort("could not resolve symbol '%s'", name);
} else } else
#endif #endif
if (ordinal) { if (ordinal) {