summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include/pj/compat/socket.h')
-rw-r--r--pjlib/include/pj/compat/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/socket.h b/pjlib/include/pj/compat/socket.h
index 754846b1..26e47b54 100644
--- a/pjlib/include/pj/compat/socket.h
+++ b/pjlib/include/pj/compat/socket.h
@@ -158,16 +158,19 @@
# define OSERR_EINPROGRESS WSAEINPROGRESS
# define OSERR_ECONNRESET WSAECONNRESET
# define OSERR_ENOTCONN WSAENOTCONN
+# define OSERR_EAFNOSUPPORT WSAEAFNOSUPPORT
#elif defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0
# define OSERR_EWOULDBLOCK -1
# define OSERR_EINPROGRESS -1
# define OSERR_ECONNRESET -1
# define OSERR_ENOTCONN -1
+# define OSERR_EAFNOSUPPORT -1
#else
# define OSERR_EWOULDBLOCK EWOULDBLOCK
# define OSERR_EINPROGRESS EINPROGRESS
# define OSERR_ECONNRESET ECONNRESET
# define OSERR_ENOTCONN ENOTCONN
+# define OSERR_EAFNOSUPPORT EAFNOSUPPORT
#endif