Browse Source

Add intrinsics dependency in classes unit for several OSes

Pierre Muller 5 days ago
parent
commit
7774e3c736

+ 3 - 0
rtl/amicommon/classes.pp

@@ -49,6 +49,9 @@ uses
 {$ifdef FPC_TESTGENERICS}
   fgl,
 {$endif}
+{$IF DEFINED(CPUARM) or DEFINED(CPUAARCH64) }
+  intrinsics,
+{$ENDIF}
   typinfo;
 {$ENDIF FPC_DOTTEDUNITS}
 

+ 3 - 0
rtl/embedded/classes.pp

@@ -46,6 +46,9 @@ uses
 {$ifdef FPC_TESTGENERICS}
   fgl,
 {$endif}
+{$IF DEFINED(CPUARM) or DEFINED(CPUAARCH64) }
+  intrinsics,
+{$ENDIF}
   typinfo;
 {$ENDIF FPC_DOTTEDUNITS}
 

+ 3 - 0
rtl/freertos/classes.pp

@@ -46,6 +46,9 @@ uses
 {$ifdef FPC_TESTGENERICS}
   fgl,
 {$endif}
+{$IF DEFINED(CPUARM) or DEFINED(CPUAARCH64) }
+  intrinsics,
+{$ENDIF}
   typinfo;
 {$ENDIF FPC_DOTTEDUNITS}
 

+ 3 - 0
rtl/gba/classes.pp

@@ -47,6 +47,9 @@ uses
 {$ifdef FPC_TESTGENERICS}
   fgl,
 {$endif}
+{$IF DEFINED(CPUARM) or DEFINED(CPUAARCH64) }
+  intrinsics,
+{$ENDIF}
   typinfo;
 {$ENDIF FPC_DOTTEDUNITS}
 

+ 3 - 0
rtl/nds/classes.pp

@@ -47,6 +47,9 @@ uses
 {$ifdef FPC_TESTGENERICS}
   fgl,
 {$endif}
+{$IF DEFINED(CPUARM) or DEFINED(CPUAARCH64) }
+  intrinsics,
+{$ENDIF}
   typinfo;
 {$ENDIF FPC_DOTTEDUNITS}
 

+ 3 - 0
rtl/symbian/classes.pp

@@ -46,6 +46,9 @@ uses
 {$ifdef FPC_TESTGENERICS}
   fgl,
 {$endif}
+{$IF DEFINED(CPUARM) or DEFINED(CPUAARCH64) }
+  intrinsics,
+{$ENDIF}
   typinfo;
 {$ENDIF FPC_DOTTEDUNITS}