comparison libmpdemux/demux_mov.c @ 9951:82f6240091a8

Avoid including a header file twice to prevent Cygwin gcc 2.95.3-10 from crashing. Also Fixes compilation with --disable-streaming on Cygwin gcc 3.2 where the include appears to be needed.
author diego
date Sun, 20 Apr 2003 23:15:27 +0000
parents ad8223e04c4f
children a4b17539f908
comparison
equal deleted inserted replaced
9950:ff5630909aa3 9951:82f6240091a8
42 42
43 #ifdef HAVE_ZLIB 43 #ifdef HAVE_ZLIB
44 #include <zlib.h> 44 #include <zlib.h>
45 #endif 45 #endif
46 46
47 // inclusion of fcntl.h cause cygwin gcc crash 47 #ifndef _FCNTL_H
48 #ifndef __CYGWIN__
49 #include <fcntl.h> 48 #include <fcntl.h>
50 #endif 49 #endif
51 50
52 #define BE_16(x) (((unsigned char *)(x))[0] << 8 | \ 51 #define BE_16(x) (((unsigned char *)(x))[0] << 8 | \
53 ((unsigned char *)(x))[1]) 52 ((unsigned char *)(x))[1])