aboutsummaryrefslogtreecommitdiff
path: root/py/mperrno.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-05-10 23:44:59 +0100
committerDamien George <damien.p.george@gmail.com>2016-05-10 23:44:59 +0100
commit83a9a723b9a92d4576da4a3f77366ab3fb95f90c (patch)
treeeb945bf10ce11612160bee8e711bbd8112c2dd43 /py/mperrno.h
parent7e1f5809104ce69979de7b7fd958e68e428d7535 (diff)
py/mperrno: Add EAFNOSUPPORT definition.
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 89649446c..f6b4e61ae 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