mirror of https://github.com/ppy/SDL3-CS.git
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:
parent
520ae0ebc7
commit
69c7e23842
|
|
@ -262,9 +262,11 @@ base_command = [
|
||||||
"bool=SDLBool", # treat bool as C# helper type
|
"bool=SDLBool", # treat bool as C# helper type
|
||||||
"__va_list=byte*",
|
"__va_list=byte*",
|
||||||
"__va_list_tag=byte",
|
"__va_list_tag=byte",
|
||||||
|
"Sint64=long",
|
||||||
|
"Uint64=ulong",
|
||||||
|
|
||||||
"--with-type",
|
"--with-type",
|
||||||
"*=int", # all types should be ints by default
|
"*=int", # all enum types should be ints by default
|
||||||
|
|
||||||
"--nativeTypeNamesToStrip",
|
"--nativeTypeNamesToStrip",
|
||||||
"unsigned int",
|
"unsigned int",
|
||||||
|
|
@ -273,7 +275,7 @@ base_command = [
|
||||||
"SDL_FUNCTION_POINTER_IS_VOID_POINTER",
|
"SDL_FUNCTION_POINTER_IS_VOID_POINTER",
|
||||||
"SDL_SINT64_C(c)=c ## LL",
|
"SDL_SINT64_C(c)=c ## LL",
|
||||||
"SDL_UINT64_C(c)=c ## ULL",
|
"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.
|
# Undefine platform-specific macros - these will be defined on a per-case basis later.
|
||||||
"--additional",
|
"--additional",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue