vlc | branch: master | KO Myung-Hun <[email protected]> | 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 <[email protected]>

> 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 */

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to