Prechádzať zdrojové kódy

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

Margers 9 mesiacov pred
rodič
commit
f7cbed1a72
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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