Преглед изворни кода

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

Pierre Muller пре 1 месец
родитељ
комит
78475e3070
1 измењених фајлова са 1 додато и 1 уклоњено
  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    }