소스 검색

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    }