summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-07-10 00:04:09 +0200
committerLudovic Courtès <ludo@gnu.org>2017-07-10 00:07:36 +0200
commit1ab9e483391f8b62b873833ea71cb0074efa03e7 (patch)
tree4a3f4586c54c279af76bfb3b996cb10ce6c5e633 /gnu
parent4883f709074237f2ae5eed6cd7d826c1c59b13f6 (diff)
downloadguix-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')
0 files changed, 0 insertions, 0 deletions