py/mperrno: Add EAFNOSUPPORT definition.

This commit is contained in:
Damien George 2016-05-10 23:44:59 +01:00
parent 7e1f580910
commit 83a9a723b9

View File

@ -66,6 +66,7 @@
#define MP_EPIPE (32) // Broken pipe #define MP_EPIPE (32) // Broken pipe
#define MP_EDOM (33) // Math argument out of domain of func #define MP_EDOM (33) // Math argument out of domain of func
#define MP_ERANGE (34) // Math result not representable #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_ENOTCONN (107) // Transport endpoint is not connected
#define MP_ETIMEDOUT (110) // Connection timed out #define MP_ETIMEDOUT (110) // Connection timed out
@ -109,6 +110,7 @@
#define MP_EPIPE EPIPE #define MP_EPIPE EPIPE
#define MP_EDOM EDOM #define MP_EDOM EDOM
#define MP_ERANGE ERANGE #define MP_ERANGE ERANGE
#define MP_EAFNOSUPPORT EAFNOSUPPORT
#define MP_ENOTCONN ENOTCONN #define MP_ENOTCONN ENOTCONN
#define MP_ETIMEDOUT ETIMEDOUT #define MP_ETIMEDOUT ETIMEDOUT