Mac OS X 10.4 compilation fix by Steven M. Schultz <sms at 2BSD dot COM>
authorDiego Biurrun <diego@biurrun.de>
Mon, 9 May 2005 10:48:12 +0000 (10:48 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 9 May 2005 10:48:12 +0000 (10:48 +0000)
Originally committed as revision 4207 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/tcp.c

index 33702e0..86a3cfb 100644 (file)
@@ -21,7 +21,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
-#if defined(__APPLE__) || defined(__BEOS__)
+#if defined(__BEOS__)
 typedef int socklen_t;
 #endif
 #ifndef __BEOS__