Procházet zdrojové kódy

Avoid null array size field for aarch64-linux TUContext

Pierre Muller před 3 roky
rodič
revize
cdfe3aa1eb
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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