diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-07-10 00:04:09 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-07-10 00:07:36 +0200 |
commit | 1ab9e483391f8b62b873833ea71cb0074efa03e7 (patch) | |
tree | 4a3f4586c54c279af76bfb3b996cb10ce6c5e633 /gnu/packages | |
parent | 4883f709074237f2ae5eed6cd7d826c1c59b13f6 (diff) | |
download | guix-1ab9e483391f8b62b873833ea71cb0074efa03e7.tar guix-1ab9e483391f8b62b873833ea71cb0074efa03e7.tar.gz |
syscalls: Adjust 'dirent64' struct for GNU/Hurd.
Reported by rennes@openmailbox.org.
* guix/build/syscalls.scm (file-type->symbol): New procedure.
(%struct-dirent-header): Rename to...
(%struct-dirent-header/linux): ... this. Rename introduced bindings as
well.
(%struct-dirent-header/hurd): New C struct.
(define-generic-identifier): New macro.
(read-dirent-header, %struct-dirent-header, sizeof-dirent-header):
Define in terms of 'define-generic-identifier'.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions