diff options
author | Dave Yeo <daveryeo@telus.net> | 2008-01-01 22:54:35 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-01-01 22:54:35 +0000 |
commit | 72be9e73ae76769d1fa6b11f8086d5ad429ae2ed (patch) | |
tree | 0079d383774bc9190b9c427ed7ab4ae10798ecf3 /libavformat/os_support.h | |
parent | c86ec2f4c38b24fa4cf3bba0fd145366c7e3f53b (diff) | |
download | ffmpeg-72be9e73ae76769d1fa6b11f8086d5ad429ae2ed.tar.gz |
Add portable way to check for the existence of definitions and
apply it to socklen_t.
patch by Dave Yeo, daveryeo telus net
Originally committed as revision 11366 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r-- | libavformat/os_support.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 16c198eb4f..1c57895ab6 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -27,7 +27,7 @@ * miscellaneous OS support macros and functions. */ -#if defined(__BEOS__) || defined(__INNOTEK_LIBC__) || defined(__DJGPP__) +#ifndef HAVE_SOCKLEN_T typedef int socklen_t; #endif |