summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include/pj/compat')
-rw-r--r--pjlib/include/pj/compat/socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjlib/include/pj/compat/socket.h b/pjlib/include/pj/compat/socket.h
index b56b7885..b1a80da0 100644
--- a/pjlib/include/pj/compat/socket.h
+++ b/pjlib/include/pj/compat/socket.h
@@ -67,7 +67,6 @@
# include <tpipv6.h>
# endif
-# undef s_addr
# define PJ_SOCK_HAS_GETADDRINFO 1
#endif /* _MSC_VER */
@@ -146,9 +145,10 @@
/*
- * And undefine this..
+ * And undefine these..
*/
#undef s_addr
+#undef s6_addr
/*
* Linux kernel specifics