def_system_macro -> undef_system_macro (fix oversight as if then block is equal to else block)

This commit is contained in:
Margers 2024-12-26 17:40:29 +00:00 committed by FPK
parent 498ff5c56c
commit f7cbed1a72

View File

@ -2142,7 +2142,7 @@ begin
if def then
def_system_macro('FPC_CPUCROSSCOMPILING')
else
def_system_macro('FPC_CPUCROSSCOMPILING');
undef_system_macro('FPC_CPUCROSSCOMPILING');
if (tf_no_generic_stackcheck in target_info.flags) then
if def then