make changes to have it compile on arm

This commit is contained in:
Stefan Koch 2021-11-11 21:18:19 +01:00 committed by GitHub
parent d177023e44
commit 9e4b928849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -14756,6 +14756,10 @@ enum ColorMapNotification:int
alias ulong XID;
alias ulong arch_ulong;
alias long arch_long;
} else version (AArch64) {
alias ulong XID;
alias ulong arch_ulong;
alias long arch_long;
} else {
alias uint XID;
alias uint arch_ulong;
@ -15549,6 +15553,8 @@ union XEvent{
static assert(XAnyEvent.sizeof == 40);
static assert(XMappingEvent.sizeof == 56);
static assert(XEvent.sizeof == 192);
} else version (AArch64) {
// omit check for aarch64
} else {
static assert(Display.sizeof == 176);
static assert(XPointer.sizeof == 4);