From 72be9e73ae76769d1fa6b11f8086d5ad429ae2ed Mon Sep 17 00:00:00 2001 From: Dave Yeo Date: Tue, 1 Jan 2008 22:54:35 +0000 Subject: 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 --- libavformat/os_support.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/os_support.h') 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 -- cgit v1.2.3