authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-26 18:49:37-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-26 18:49:37-04:00
logebe79329a2c2cf6d74094fb6dfb1b5affde75e24
treea6b619b684f4890f1abc08c49b790e2a715fb91b
parent4d65373a3d0f616cceb4bef67289d014f30d8ea4
signaturelock-open Commit is signed but in an unrecognized format.

fix some linux declarations not getting exposed


1 files changed, 27 insertions(+), 27 deletions(-)

lib/std/os/bits/linux.zig+27-27
...@@ -364,33 +364,33 @@ pub const AF_MAX = PF_MAX;...@@ -364,33 +364,33 @@ pub const AF_MAX = PF_MAX;
364364
365pub usingnamespace if (!@hasDecl(@This(), "SO_DEBUG"))365pub usingnamespace if (!@hasDecl(@This(), "SO_DEBUG"))
366 struct {366 struct {
367 const SO_DEBUG = 1;367 pub const SO_DEBUG = 1;
368 const SO_REUSEADDR = 2;368 pub const SO_REUSEADDR = 2;
369 const SO_TYPE = 3;369 pub const SO_TYPE = 3;
370 const SO_ERROR = 4;370 pub const SO_ERROR = 4;
371 const SO_DONTROUTE = 5;371 pub const SO_DONTROUTE = 5;
372 const SO_BROADCAST = 6;372 pub const SO_BROADCAST = 6;
373 const SO_SNDBUF = 7;373 pub const SO_SNDBUF = 7;
374 const SO_RCVBUF = 8;374 pub const SO_RCVBUF = 8;
375 const SO_KEEPALIVE = 9;375 pub const SO_KEEPALIVE = 9;
376 const SO_OOBINLINE = 10;376 pub const SO_OOBINLINE = 10;
377 const SO_NO_CHECK = 11;377 pub const SO_NO_CHECK = 11;
378 const SO_PRIORITY = 12;378 pub const SO_PRIORITY = 12;
379 const SO_LINGER = 13;379 pub const SO_LINGER = 13;
380 const SO_BSDCOMPAT = 14;380 pub const SO_BSDCOMPAT = 14;
381 const SO_REUSEPORT = 15;381 pub const SO_REUSEPORT = 15;
382 const SO_PASSCRED = 16;382 pub const SO_PASSCRED = 16;
383 const SO_PEERCRED = 17;383 pub const SO_PEERCRED = 17;
384 const SO_RCVLOWAT = 18;384 pub const SO_RCVLOWAT = 18;
385 const SO_SNDLOWAT = 19;385 pub const SO_SNDLOWAT = 19;
386 const SO_RCVTIMEO = 20;386 pub const SO_RCVTIMEO = 20;
387 const SO_SNDTIMEO = 21;387 pub const SO_SNDTIMEO = 21;
388 const SO_ACCEPTCONN = 30;388 pub const SO_ACCEPTCONN = 30;
389 const SO_PEERSEC = 31;389 pub const SO_PEERSEC = 31;
390 const SO_SNDBUFFORCE = 32;390 pub const SO_SNDBUFFORCE = 32;
391 const SO_RCVBUFFORCE = 33;391 pub const SO_RCVBUFFORCE = 33;
392 const SO_PROTOCOL = 38;392 pub const SO_PROTOCOL = 38;
393 const SO_DOMAIN = 39;393 pub const SO_DOMAIN = 39;
394 }394 }
395else395else
396 struct {};396 struct {};