Mercurial > libavformat.hg
comparison os_support.h @ 6460:e29a553aa1fc libavformat
Move INET6_ADDRSTRLEN to network.h, similar to other network-related fixups
for broken OSes. This is included in rtsp.h, as opposed to os_support.h.
Should fix OS/2 broken build on fate.
author | rbultje |
---|---|
date | Fri, 03 Sep 2010 20:06:01 +0000 |
parents | 2e3e76e8ada4 |
children |
comparison
equal
deleted
inserted
replaced
6459:cf0ea082dad2 | 6460:e29a553aa1fc |
---|---|
53 /* most of the time closing a socket is just closing an fd */ | 53 /* most of the time closing a socket is just closing an fd */ |
54 #if !HAVE_CLOSESOCKET | 54 #if !HAVE_CLOSESOCKET |
55 #define closesocket close | 55 #define closesocket close |
56 #endif | 56 #endif |
57 | 57 |
58 #ifndef INET6_ADDRSTRLEN | |
59 #define INET6_ADDRSTRLEN INET_ADDRSTRLEN | |
60 #endif | |
61 | |
62 #if CONFIG_FFSERVER | 58 #if CONFIG_FFSERVER |
63 #if !HAVE_POLL_H | 59 #if !HAVE_POLL_H |
64 typedef unsigned long nfds_t; | 60 typedef unsigned long nfds_t; |
65 | 61 |
66 struct pollfd { | 62 struct pollfd { |