Browse Source

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

Margers 7 months ago
parent
commit
f7cbed1a72
1 changed files with 1 additions and 1 deletions
  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