Ver Fonte

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

Margers há 9 meses atrás
pai
commit
f7cbed1a72
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      compiler/options.pas

+ 1 - 1
compiler/options.pas

@@ -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