changeset 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 ff5630909aa3
children fb4d0658b1b9
files libmpdemux/demux_mov.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Sun Apr 20 21:59:29 2003 +0000
+++ b/libmpdemux/demux_mov.c	Sun Apr 20 23:15:27 2003 +0000
@@ -44,8 +44,7 @@
 #include <zlib.h>
 #endif
 
-// inclusion of fcntl.h cause cygwin gcc crash
-#ifndef __CYGWIN__
+#ifndef _FCNTL_H
 #include <fcntl.h>
 #endif