diff options
author | Damien George <damien.p.george@gmail.com> | 2016-05-10 23:44:59 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-05-10 23:44:59 +0100 |
commit | 83a9a723b9a92d4576da4a3f77366ab3fb95f90c (patch) | |
tree | eb945bf10ce11612160bee8e711bbd8112c2dd43 | |
parent | 7e1f5809104ce69979de7b7fd958e68e428d7535 (diff) | |
download | micropython-83a9a723b9a92d4576da4a3f77366ab3fb95f90c.tar.gz micropython-83a9a723b9a92d4576da4a3f77366ab3fb95f90c.zip |
py/mperrno: Add EAFNOSUPPORT definition.
-rw-r--r-- | py/mperrno.h | 2 |
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 |