aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorDave Yeo <daveryeo@telus.net>2008-01-01 22:54:35 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-01 22:54:35 +0000
commit72be9e73ae76769d1fa6b11f8086d5ad429ae2ed (patch)
tree0079d383774bc9190b9c427ed7ab4ae10798ecf3 /libavformat
parentc86ec2f4c38b24fa4cf3bba0fd145366c7e3f53b (diff)
downloadffmpeg-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')
-rw-r--r--libavformat/os_support.h2
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