changeset 2878:5ba8eab6e1da libavformat

Add portable way to check for the existence of definitions and apply it to socklen_t. patch by Dave Yeo, daveryeo telus net
author diego
date Tue, 01 Jan 2008 22:54:35 +0000
parents f0665d1388ad
children de34b71344b7
files os_support.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/os_support.h	Tue Jan 01 22:05:51 2008 +0000
+++ b/os_support.h	Tue Jan 01 22:54:35 2008 +0000
@@ -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