[MPlayer-dev-eng] [PATCH] rtsp.c and rmff.h

Diego Biurrun diego at biurrun.de
Sun Apr 20 13:43:59 CEST 2003


Diego Biurrun writes:
 > It compiles fine here on Cygwin after I remove the following lines from 
 > all files in the realrtsp directory:
 > 
 > #ifdef __CYGWIN__
 > #define uint32_t unsigned int
 > #define uint16_t unsigned short int
 > #define uint8_t unsigned char
 > #endif
 > 
 > And to me this looks like a duplication of etc/cygwin_inttypes.h (which 
 > has to be put in /usr/include/inttypes.h on Cygwin to make MPlayer 
 > compile).  Here it is:
 > 
 > #if 0
 > typedef char *  caddr_t;
 > typedef char int8_t;
 > typedef unsigned char u_int8_t;
 > typedef short int16_t;
 > typedef unsigned short u_int16_t;
 > typedef int int32_t;
 > typedef unsigned int u_int32_t;
 > typedef long long int64_t;
 > typedef unsigned long long u_int64_t;
 > typedef int32_t register_t;
 > #else
 > #include <sys/types.h>
 > #endif /* 0/1 */
 > typedef u_int8_t uint8_t;
 > typedef u_int16_t uint16_t;
 > typedef u_int32_t uint32_t;
 > typedef u_int64_t uint64_t;
 > 
 > So I guess it should be safe to remove those lines.

Um, looks like duplication until you consider the #if 0.  Whatever, it
compiles without problems.

Diego



More information about the MPlayer-dev-eng mailing list