Browse Source

* define for armel fixed

git-svn-id: trunk@9164 -
florian 17 years ago
parent
commit
8075f99ce9
2 changed files with 3 additions and 4 deletions
  1. 0 1
      compiler/options.pas
  2. 3 3
      compiler/systems/i_linux.pas

+ 0 - 1
compiler/options.pas

@@ -2454,7 +2454,6 @@ begin
 {$endif cpufpemu}
 {$endif cpufpemu}
     end;
     end;
 
 
-
   { now we can defined cpu and cpu type }
   { now we can defined cpu and cpu type }
   def_system_macro('CPU'+Cputypestr[init_settings.cputype]);
   def_system_macro('CPU'+Cputypestr[init_settings.cputype]);
 
 

+ 3 - 3
compiler/systems/i_linux.pas

@@ -532,7 +532,7 @@ unit i_linux;
             abi : abi_default
             abi : abi_default
           );
           );
 
 
-{$ifdef ARMEL}
+{$ifdef FPC_ARMEL}
        system_arm_linux_info : tsysteminfo =
        system_arm_linux_info : tsysteminfo =
           (
           (
             system       : system_arm_Linux;
             system       : system_arm_Linux;
@@ -592,7 +592,7 @@ unit i_linux;
             stacksize    : 262144;
             stacksize    : 262144;
             abi : abi_eabi
             abi : abi_eabi
           );
           );
-{$else ARMEL}
+{$else FPC_ARMEL}
        system_arm_linux_info : tsysteminfo =
        system_arm_linux_info : tsysteminfo =
           (
           (
             system       : system_arm_Linux;
             system       : system_arm_Linux;
@@ -652,7 +652,7 @@ unit i_linux;
             stacksize    : 262144;
             stacksize    : 262144;
             abi : abi_default
             abi : abi_default
           );
           );
-{$endif ARMEL}
+{$endif FPC_ARMEL}
 
 
   implementation
   implementation