Skip to content

Commit 83a9a72

Browse files
committed
py/mperrno: Add EAFNOSUPPORT definition.
1 parent 7e1f580 commit 83a9a72

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

py/mperrno.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
#define MP_EPIPE (32) // Broken pipe
6767
#define MP_EDOM (33) // Math argument out of domain of func
6868
#define MP_ERANGE (34) // Math result not representable
69+
#define MP_EAFNOSUPPORT (97) // Address family not supported by protocol
6970
#define MP_ENOTCONN (107) // Transport endpoint is not connected
7071
#define MP_ETIMEDOUT (110) // Connection timed out
7172

@@ -109,6 +110,7 @@
109110
#define MP_EPIPE EPIPE
110111
#define MP_EDOM EDOM
111112
#define MP_ERANGE ERANGE
113+
#define MP_EAFNOSUPPORT EAFNOSUPPORT
112114
#define MP_ENOTCONN ENOTCONN
113115
#define MP_ETIMEDOUT ETIMEDOUT
114116

0 commit comments

Comments
 (0)