David Conrad
ac11d562e5
Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.c
...
Originally committed as revision 22284 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
a34fc5e23d
Make our getaddrinfo implementation initialize "struct addrinfo" return
...
value to NULL on errors.
Originally committed as revision 22122 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
04a2b04b98
Implement gai_strerror() for systems lacking such functionality. Patch
...
by KO Myung-Hun <komh challion net>.
Originally committed as revision 21692 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
6023d84a2b
Load the proper getaddrinfo functions from ws2_32.dll, if they're present.
...
Patch by Martin Storsjö <martin at martin dot st>.
Originally committed as revision 21443 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
5d629b72cb
Provide a fallback for getnameinfo() also. Patch by Martin Storsjö
...
<$firstname()$firstname,st>.
Originally committed as revision 21150 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
fa053ca725
Provide fallback implementations of getaddrinfo() and freeaddrinfo().
...
Patch by Martin Storsjö <$firstname()$firstname,st>.
Originally committed as revision 21145 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
7e43f74a37
Use getaddrinfo(), if available, in resolve_host(). Patch by Martin
...
Storsjö <$firstname()$firstname,st>.
Originally committed as revision 21143 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
b827f4eb47
Currently, the replacement which is used if inet_aton isn't available,
...
only works correctly on little-endian. The attached patch makes it endian
independent.
Patch by Martin Storsjö <$firstname()$firstname,st>.
Originally committed as revision 21080 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Dave Yeo
e748e34dd6
struct timeval requires #include <sys/time.h>
...
patch by Dave Yeo daveryeo _at_ telus _dot_ net
Originally committed as revision 14793 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
a964e813a1
use h_addr_list[0] instead of h_addr as this is the posix hostent field name
...
Originally committed as revision 14768 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
7246177d80
ensure we get explicit definition of various _XOPEN_SOURCE functions we use
...
Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
f8cda19ee6
Include poll.h instead of sys/poll.h
...
Originally committed as revision 11924 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Kostylev
81644c2ee0
Check for the presence of sys/select.h and conditionally #include it.
...
patch by Michael Kostylev, mik niipt ru
Originally committed as revision 11324 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Tom Harper
72d6b1bf1b
Fix compilation of os_support.c for MinGW with --disable-network
...
Patch by Tom Harper <d.thomas.harper <at> gmail.com>
Originally committed as revision 11200 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
087b327287
Include os_support.h only when needed
...
Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
6ff3f3e7ce
Check for winsock2.h instead of __MINGW32__
...
Originally committed as revision 9988 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benoit Fouet
d72e7d0f24
use sscanf to parse address
...
Originally committed as revision 9756 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benoit Fouet
109d30e9f1
remove useless check
...
Originally committed as revision 9733 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Joakim Plate
104d04182d
fix emulated inet_aton so that it fails for invalid addresses
...
patch by elupus: \elupus ecce se/
original thread:
[FFmpeg-devel] [PATCH] emulated inet_aton doesn't fail for invalidaddresses
date: 07/15/2007 12:40 AM
Originally committed as revision 9731 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
1fc44ed69e
MinGW has those include files.
...
Originally committed as revision 9707 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
82e4ac2c97
Move av_gettime() back to lavf/utils.c
...
Originally committed as revision 9706 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
c993a83131
MinGW has gettimeofday() since mingw-runtime-3.10
...
Originally committed as revision 9705 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
7c37e504f0
Remove OS/2 support
...
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
45c1011020
Remove localtime_r implementation for systems that don't have it.
...
It is no longer used.
Originally committed as revision 9425 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
3e2e29fb00
r9095 invalidly removed the check for non-winsock
...
Originally committed as revision 9096 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
7235183df9
fix FD_SETSIZE handling in our poll() emulation
...
Originally committed as revision 9095 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
5676d140a9
initial mingw networking support
...
Originally committed as revision 9029 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
ba472aaf01
implement ff_socket_nonblock and use it in networking code
...
Originally committed as revision 8846 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
4ee10633d2
cosmetics: Remove trailing whitespace and tabs.
...
Originally committed as revision 8838 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
383eda2348
move resolve_host from tcp.c to os_support.c as it is used widely
...
Originally committed as revision 8834 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
61bc79ec9c
remove possibly broken wince cruft
...
Originally committed as revision 8763 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
c9fdab0dab
Some more BeOS cleanup: check for arpa/inet.h; declare the prototype for inet_aton if not found; remove barpainet.h as it's not longer needed.
...
Originally committed as revision 8488 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
457b101e42
Make sure we don't try to emulate poll() when it's there if --disable-ffserver... 10l
...
Originally committed as revision 7991 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
36c07acd59
MinGW patch by <koyama AT infocity DOT co DOT jp>, reworked. Removed placeholder for winsock.
...
Originally committed as revision 7990 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
b0c858d834
poll() emulation for BeOS, and maybe MinGW.
...
Originally committed as revision 7987 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
8da9266cea
use the standard INT64_C() macro for 64-bit constants
...
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
eaa53b957b
MinGW compilation fix, inet_aton and #includes depend on networking support.
...
Originally committed as revision 7081 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
54eb77c05e
Move BeOS-specific code into os_support.c.
...
Originally committed as revision 7071 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
fa28bc16f0
simplify
...
Originally committed as revision 7048 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2f30a81d19
CONFIG_WIN32 implies MinGW and Cygwin and possibly more, so use just
...
CONFIG_MINGW or __MINGW32__ instead.
Originally committed as revision 5718 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
fdc7b57042
Skip all includes for WinCE, instead of falling through to the #else case.
...
Originally committed as revision 4884 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Gildas Bazin
ac44871c77
WinCE cross-compilation support
...
patch by Gildas Bazin < gbazin **@** altern **.** org >
Originally committed as revision 4881 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
f6506a541a
doxy
...
Originally committed as revision 3664 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Sascha Sommer
2a86d50bd9
cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
...
Originally committed as revision 3053 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Steven M. Schultz
17c22f574b
libavformat/os_support.c HAVE_LOCALTIME_R patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
...
Originally committed as revision 3009 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Fabrice Bellard
f71869a4db
simpler strptime - added os_support.[ch] - moved localtime_r to os_support.c
...
Originally committed as revision 2228 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago