summaryrefslogtreecommitdiff
path: root/experimental/firefox-esr/5-e6b5aa19e999.patch
blob: d33914b785bec03445c823300e2f1746ee2e6607 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# HG changeset patch
# User A. Wilcox <AWilcox@Wilcox-Tech.com>
# Date 1539810007 0
#      Wed Oct 17 21:00:07 2018 +0000
# Node ID e6b5aa19e9990adaddb2b80061620f3ceb7335e0
# Parent  34f9863ef26ae1f8e494b3fc8e87fb7e26a480b3
NOT FOR INBOUND: fix u2fhid on ppc64/musl

diff -r 34f9863ef26a -r e6b5aa19e999 dom/webauthn/u2f-hid-rs/src/linux/hidraw.rs
--- a/dom/webauthn/u2f-hid-rs/src/linux/hidraw.rs	Wed Oct 17 20:59:47 2018 +0000
+++ b/dom/webauthn/u2f-hid-rs/src/linux/hidraw.rs	Wed Oct 17 21:00:07 2018 +0000
@@ -41,10 +41,7 @@
                 | (($nr as u32) << NRSHIFT)
                 | ((size as u32) << SIZESHIFT);
 
-            #[cfg(not(target_env = "musl"))]
             type IocType = libc::c_ulong;
-            #[cfg(target_env = "musl")]
-            type IocType = libc::c_int;
 
             from_unix_result(libc::ioctl(fd, ioc as IocType, val))
         }