mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 01:22:50 +00:00
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.
This commit is contained in:
parent
ebe79329a2
commit
23a82b5ffd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user