Browse Source

Avoid null array size field for aarch64-linux TUContext

Pierre Muller 3 năm trước cách đây
mục cha
commit
cdfe3aa1eb
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      rtl/linux/aarch64/sighndh.inc

+ 2 - 0
rtl/linux/aarch64/sighndh.inc

@@ -57,7 +57,9 @@ type
     uc_link : PUContext;
     uc_stack : stack_t;
     uc_sigmask : sigset_t;
+    {$if sizeof(sigset_t) < 128 }
     __padding : array[1..128 - sizeof(sigset_t)] of byte;
+    {$endif}
     __pad : cULong;
     { The following field should be 16-byte-aligned. Currently the
       directive for specifying alignment is buggy, so the preceding