| author | |
| committer | |
| log | 23a82b5ffdc0973e6d62b0171268781f8cbcb70d |
| tree | fa5e69518f18c6faf830afdcf95bed95faf599a3 |
| parent | ebe79329a2c2cf6d74094fb6dfb1b5affde75e24 |
| signature |
I think that should actually be a compile error, it's a usingnamespace
that depends on itself. This workaround is fine for now.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/os/bits/linux.zig+1-1| ... | ... | @@ -362,7 +362,7 @@ pub const AF_QIPCRTR = PF_QIPCRTR; |
| 362 | 362 | pub const AF_SMC = PF_SMC; |
| 363 | 363 | pub const AF_MAX = PF_MAX; |
| 364 | 364 | |
| 365 | pub usingnamespace if (!@hasDecl(@This(), "SO_DEBUG")) | |
| 365 | pub usingnamespace if (!is_mips) | |
| 366 | 366 | struct { |
| 367 | 367 | pub const SO_DEBUG = 1; |
| 368 | 368 | pub const SO_REUSEADDR = 2; |