diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-05-05 12:13:43 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-05-05 23:45:56 +0200 |
commit | 86f5decd2066889bf2e60df388d6c812aede0917 (patch) | |
tree | 0c2f259b3c7705238d9e92947e654a07a96cdee0 /tests | |
parent | 751d1f01e4f0607d41e4c859d944753b18466652 (diff) | |
download | patches-86f5decd2066889bf2e60df388d6c812aede0917.tar patches-86f5decd2066889bf2e60df388d6c812aede0917.tar.gz |
syscalls: 'define-c-struct' supports cross-compilation.
Reported by Jan (janneke) Nieuwenhuizen <janneke@gnu.org>.
Before that, we'd always use the 'sizeof' and 'alignof' value obtained
from the host at macro-expansion time.
* guix/build/syscalls.scm (sizeof*, alignof*): When the target word size
differs from the host word size, emit a call to 'sizeof'/'alignof'.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions