summaryrefslogtreecommitdiff
path: root/pjlib/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-12-03 00:40:58 +0000
committerBenny Prijono <bennylp@teluu.com>2007-12-03 00:40:58 +0000
commit66573305157f00a1440ada3f71e7fd471f99715b (patch)
tree475e9b9cae776e5ba38e562168cec6289fed049f /pjlib/include
parent085b6a1482c3241345b79c3f29ad9f4d64f4805f (diff)
Fixed compilation errors/warnings on Linux with the recent IPv6 commits
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1611 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include')
-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