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:
Andrew Kelley 2019-09-26 21:37:25 -04:00
parent ebe79329a2
commit 23a82b5ffd
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -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;