Bläddra i källkod

On aarch64-win64 system, C 'long' type is also a 32-bit type, as for x86_64-win64

Pierre Muller 1 månad sedan
förälder
incheckning
78475e3070
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      rtl/inc/ctypes.pp

+ 1 - 1
rtl/inc/ctypes.pp

@@ -71,7 +71,7 @@ type
 
   cbool                  = longbool;           pcbool                 = ^cbool;
 
-{$if defined(cpu64) and not(defined(win64) and defined(cpux86_64))}
+{$if defined(cpu64) and not(defined(win64))}
   cint                   = cint32;             pcint                  = ^cint;              { minimum range is : 32-bit    }
   csint                  = cint32;             pcsint                 = ^csint;             { minimum range is : 32-bit    }
   cuint                  = cuint32;            pcuint                 = ^cuint;             { minimum range is : 32-bit    }