Update linker.cpp

2.0
_xeroxz 4 years ago
parent 63a9e8ccfc
commit 787376101b

@ -79,7 +79,7 @@ namespace lnk
{ {
// im not doing alignment correctly, i cannot find // im not doing alignment correctly, i cannot find
// anything online about it either, this "works" for now, but it will probably not // anything online about it either, this "works" for now, but it will probably not
// on other linkers.... // on other linkers... (linker makes the .lib iirc)
if (archive_headers->Name[0] == '\n') if (archive_headers->Name[0] == '\n')
archive_headers = reinterpret_cast<PIMAGE_ARCHIVE_MEMBER_HEADER>( archive_headers = reinterpret_cast<PIMAGE_ARCHIVE_MEMBER_HEADER>(
reinterpret_cast<std::uintptr_t>(archive_headers) + 1); reinterpret_cast<std::uintptr_t>(archive_headers) + 1);

Loading…
Cancel
Save