limine-install: Fix mingw external references

This commit is contained in:
mintsuki 2021-03-18 05:19:45 +01:00
parent a468071841
commit 84c41d3854

View File

@ -270,9 +270,9 @@ extern uint8_t _binary_limine_hdd_bin_start[], _binary_limine_hdd_bin_end[];
int main(int argc, char *argv[]) {
int ok = 1;
#ifdef __MINGW32__
uint8_t *bootloader_img = binary_bin_limine_hdd_bin_start;
uint8_t *bootloader_img = binary_limine_hdd_bin_start;
size_t bootloader_file_size =
(size_t)binary_bin_limine_hdd_bin_end - (size_t)binary_bin_limine_hdd_bin_start;
(size_t)binary_limine_hdd_bin_end - (size_t)binary_limine_hdd_bin_start;
#else
uint8_t *bootloader_img = _binary_limine_hdd_bin_start;
size_t bootloader_file_size =