summaryrefslogtreecommitdiffstatshomepage
path: root/py/mperrno.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mperrno.h')
-rw-r--r--py/mperrno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/mperrno.h b/py/mperrno.h
index 89649446c5..f6b4e61aec 100644
--- a/py/mperrno.h
+++ b/py/mperrno.h
@@ -66,6 +66,7 @@
#define MP_EPIPE (32) // Broken pipe
#define MP_EDOM (33) // Math argument out of domain of func
#define MP_ERANGE (34) // Math result not representable
+#define MP_EAFNOSUPPORT (97) // Address family not supported by protocol
#define MP_ENOTCONN (107) // Transport endpoint is not connected
#define MP_ETIMEDOUT (110) // Connection timed out
@@ -109,6 +110,7 @@
#define MP_EPIPE EPIPE
#define MP_EDOM EDOM
#define MP_ERANGE ERANGE
+#define MP_EAFNOSUPPORT EAFNOSUPPORT
#define MP_ENOTCONN ENOTCONN
#define MP_ETIMEDOUT ETIMEDOUT