Commit 23a82b5ffd

Andrew Kelley <andrew@ziglang.org>
2019-09-27 03:37:25
fix mipsel regression in previous commit
I think that should actually be a compile error, it's a usingnamespace that depends on itself. This workaround is fine for now.
1 parent ebe7932
Changed files (1)
lib
std
os
lib/std/os/bits/linux.zig
@@ -362,7 +362,7 @@ pub const AF_QIPCRTR = PF_QIPCRTR;
 pub const AF_SMC = PF_SMC;
 pub const AF_MAX = PF_MAX;
 
-pub usingnamespace if (!@hasDecl(@This(), "SO_DEBUG"))
+pub usingnamespace if (!is_mips)
     struct {
         pub const SO_DEBUG = 1;
         pub const SO_REUSEADDR = 2;