Fix 64-bit integers on `x86_64-linux-gnu`

The __LP64__ macros work fine on aarch64, but they don't seem to do much on x86_64
This commit is contained in:
Susko3 2024-10-24 10:44:19 +01:00
parent 520ae0ebc7
commit 69c7e23842
1 changed files with 4 additions and 2 deletions

View File

@ -262,9 +262,11 @@ base_command = [
"bool=SDLBool", # treat bool as C# helper type
"__va_list=byte*",
"__va_list_tag=byte",
"Sint64=long",
"Uint64=ulong",
"--with-type",
"*=int", # all types should be ints by default
"*=int", # all enum types should be ints by default
"--nativeTypeNamesToStrip",
"unsigned int",
@ -273,7 +275,7 @@ base_command = [
"SDL_FUNCTION_POINTER_IS_VOID_POINTER",
"SDL_SINT64_C(c)=c ## LL",
"SDL_UINT64_C(c)=c ## ULL",
"SDL_DECLSPEC=", # Not supported by llvm
"SDL_DECLSPEC=", # Not supported by llvm
# Undefine platform-specific macros - these will be defined on a per-case basis later.
"--additional",