We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df433a3 commit 0db34c2Copy full SHA for 0db34c2
units/ctypes.inc
@@ -161,10 +161,17 @@ type
161
pointer: uintptr_t"
162
Source: https://pubs.opengroup.org/onlinepubs/000095399/basedefs/stdint.h.html
163
}
164
- cuintptr_t = PtrUInt;
165
- {$EXTERNALSYM cuintptr_t}
166
- cintptr_t = PtrInt;
167
- {$EXTERNALSYM cintptr_t}
+ {$IFNDEF FPC}
+ cuintptr_t = UIntPtr;
+ {$EXTERNALSYM cuintptr_t}
+ cintptr_t = IntPtr;
168
+ {$EXTERNALSYM cintptr_t}
169
+ {$ELSE}
170
+ cuintptr_t = PtrUInt;
171
172
+ cintptr_t = PtrInt;
173
174
+ {$ENDIF}
175
176
{$IFDEF WANT_CWCHAR_T}
177
(* wchar_t is the "wide character" type of the C language.
0 commit comments