Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions units/ctypes.inc
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,17 @@ type
pointer: uintptr_t"
Source: https://pubs.opengroup.org/onlinepubs/000095399/basedefs/stdint.h.html
}
cuintptr_t = PtrUInt;
{$EXTERNALSYM cuintptr_t}
cintptr_t = PtrInt;
{$EXTERNALSYM cintptr_t}
{$IFNDEF FPC}
cuintptr_t = UIntPtr;
{$EXTERNALSYM cuintptr_t}
cintptr_t = IntPtr;
{$EXTERNALSYM cintptr_t}
{$ELSE}
cuintptr_t = PtrUInt;
{$EXTERNALSYM cuintptr_t}
cintptr_t = PtrInt;
{$EXTERNALSYM cintptr_t}
{$ENDIF}

{$IFDEF WANT_CWCHAR_T}
(* wchar_t is the "wide character" type of the C language.
Expand Down
Loading