[vlc-commits] Define if_nametoindex() for OS/2
KO Myung-Hun
git at videolan.org
Sun Apr 3 16:05:54 CEST 2011
vlc | branch: master | KO Myung-Hun <komh at chollian.net> | Sat Mar 12 10:22:09 2011 +0900| [8ead43aa4a3d1b04c26a53a694a6c20e8705de42] | committer: Rémi Duraffort
Define if_nametoindex() for OS/2
Signed-off-by: Rémi Duraffort <ivoire at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8ead43aa4a3d1b04c26a53a694a6c20e8705de42
---
src/network/udp.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/network/udp.c b/src/network/udp.c
index 1267db7..80522af 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -53,6 +53,10 @@
# endif
#endif
+#ifdef __OS2__
+# define if_nametoindex( str ) atoi( str )
+#endif
+
#ifdef HAVE_LINUX_DCCP_H
# include <linux/dccp.h>
# ifndef SOCK_DCCP /* provisional API */
More information about the vlc-commits
mailing list