[MINIHAL] Compile with _NTSYSTEM_ since it's also part of the bootloader.

Fixes compilation because the Hal(Private)DispatchTable's, defined in
the bootloader's NTOS stub, are not external imports, as they would be
for a standard HAL.
This commit is contained in:
Hermès Bélusca-Maïto 2022-05-08 03:06:27 +02:00
parent ec1def3f31
commit 39b8d45592
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -46,6 +46,6 @@ endif()
add_asm_files(mini_hal_asm ../generic/systimer.S)
add_library(mini_hal ${MINI_HAL_SOURCE} ${mini_hal_asm})
target_compile_definitions(mini_hal PRIVATE _BLDR_ _MINIHAL_)
target_compile_definitions(mini_hal PRIVATE _MINIHAL_ _BLDR_ _NTSYSTEM_)
add_dependencies(mini_hal psdk bugcodes asm)
add_pch(mini_hal ../include/hal.h MINI_HAL_SOURCE)