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
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user