We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5171b77 commit a13b05fCopy full SHA for a13b05f
Sources/Foundation/NSError.swift
@@ -1344,6 +1344,7 @@ extension POSIXError {
1344
/// Bad message.
1345
public static var EBADMSG: POSIXError.Code { return .EBADMSG }
1346
1347
+ #if !os(OpenBSD)
1348
/// Reserved.
1349
public static var EMULTIHOP: POSIXError.Code { return .EMULTIHOP }
1350
@@ -1358,13 +1359,16 @@ extension POSIXError {
1358
1359
1360
/// Not a STREAM.
1361
public static var ENOSTR: POSIXError.Code { return .ENOSTR }
1362
+ #endif
1363
1364
/// Protocol error.
1365
public static var EPROTO: POSIXError.Code { return .EPROTO }
1366
1367
1368
/// STREAM ioctl timeout.
1369
public static var ETIME: POSIXError.Code { return .ETIME }
1370
#endif
1371
1372
1373
#if canImport(Darwin)
1374
/// No such policy registered.
0 commit comments