File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -876,8 +876,18 @@ pub const MS_SYNC: c_int = 2;
876876
877877pub const SCM_RIGHTS : c_int = 0x01 ;
878878pub const SCM_TIMESTAMP : c_int = 0x02 ;
879+
880+ // QNX Network Stack Versioning:
881+ //
882+ // The `if` block targets the legacy `io-pkt` stack.
883+ // - target_env = "nto70": QNX 7.0
884+ // - target_env = "nto71": Standard QNX 7.1 (default legacy stack)
885+ //
886+ // The `else` block targets the modern `io-sock` stack.
887+ // - target_env = "nto71_iosock": QNX 7.1 with the optional new stack
888+ // - target_env = "nto80": QNX 8.0
879889cfg_if ! {
880- if #[ cfg( not ( any( target_env = "nto71_iosock " , target_env = "nto80 " ) ) ) ] {
890+ if #[ cfg( any( target_env = "nto70 " , target_env = "nto71 " ) ) ]
881891 pub const SCM_CREDS : c_int = 0x04 ;
882892 pub const IFF_NOTRAILERS : c_int = 0x00000020 ;
883893 pub const AF_INET6 : c_int = 24 ;
You can’t perform that action at this time.
0 commit comments