Ver Fonte

* Fixed overload choosing by arm native compiler.

git-svn-id: trunk@10793 -
yury há 17 anos atrás
pai
commit
3e1e6d25f0
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      compiler/cutils.pas

+ 2 - 2
compiler/cutils.pas

@@ -1246,13 +1246,13 @@ implementation
     // and with all signaling policies preserved as is.
 
     type
-      {$ifdef ENDIAN_LITTLE}
+      {$if defined(ENDIAN_LITTLE) and not defined(FPC_DOUBLE_HILO_SWAPPED)}
         twoword=record
                   lo,hi:longword; // Little Endian split of a double.
                 end;
       {$else}
         twoword=record
-                  hi,lo:longword; // Little Endian split of a double.
+                  hi,lo:longword; // Big Endian split of a double.
                 end;
       {$endif}