This reverts commit 1a8fb94350388df7495dc8912bde1f7ac5a5c668.
Unified · Split
| @@ -868,7 +868,7 @@ static void pe_build_imports(struct pe_info *pe) · 867 unmodified lines | |||
| 868 | v = (ADDR3264)GetProcAddress(dllref->handle, ordinal?(char*)0+ordinal:name); | 868 | v = (ADDR3264)GetProcAddress(dllref->handle, ordinal?(char*)0+ordinal:name); |
| 869 | } | 869 | } |
| 870 | if (!v) | 870 | if (!v) |
| 871 | tcc_error_noabort(pe->S, "could not resolve symbol '%s'", name); | 871 | tcc_error_noabort("could not resolve symbol '%s'", name); |
| 872 | } else | 872 | } else |
| 873 | #endif | 873 | #endif |
| 874 | if (ordinal) { | 874 | if (ordinal) { |