diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2017-03-13 23:08:49 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2017-03-13 23:08:49 +0200 |
commit | 3f9543aee1e49001d0f80542dd71ba73c44787c7 (patch) | |
tree | 50ee1bdd53b1e5ec69cb8655f23da79c332dde1e /guix/build/syscalls.scm | |
parent | 864a9590ad948df09f2ad6e9e929608a7587a5f7 (diff) | |
parent | a71c863834448e2645518b31b60a96ef488dd761 (diff) | |
download | gnu-guix-3f9543aee1e49001d0f80542dd71ba73c44787c7.tar gnu-guix-3f9543aee1e49001d0f80542dd71ba73c44787c7.tar.gz |
Merge remote-tracking branch 'origin/master' into core-updates
Diffstat (limited to 'guix/build/syscalls.scm')
-rw-r--r-- | guix/build/syscalls.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm index b68c48a05a..58c23f2844 100644 --- a/guix/build/syscalls.scm +++ b/guix/build/syscalls.scm @@ -1346,12 +1346,12 @@ given an integer, returns the list of names of the constants that are or'd." (begin (define-syntax constructor (syntax-rules (names ...) + ((_) 0) ((_ names) values) ... - ((_ several (... ...)) - (logior (constructor several) (... ...))))) + ((_ first rest (... ...)) + (logior (constructor first) rest (... ...))))) (define (bits->symbols bits) - (bits->symbols-body bits (names ...) (values ...))) - (define names values) ...)))) + (bits->symbols-body bits (names ...) (values ...))))))) ;; 'local-flags' bits from <bits/termios.h> (define-bits local-flags |