[xiph-cvs] cvs commit: theora/examples dump_video.c

Timothy Terriberry tterribe at xiph.org
Sat Nov 22 06:53:06 PST 2003



tterribe    03/11/22 09:53:06

  Modified:    examples dump_video.c
  Log:
  Forgot to protect <io.h> from platforms that don't have it.

Revision  Changes    Path
1.8       +4 -1      theora/examples/dump_video.c

Index: dump_video.c
===================================================================
RCS file: /usr/local/cvsroot/theora/examples/dump_video.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dump_video.c	15 Nov 2003 17:27:12 -0000	1.7
+++ dump_video.c	22 Nov 2003 14:53:03 -0000	1.8
@@ -11,7 +11,7 @@
  ********************************************************************
 
   function: example dumpvid application; dumps  Theora streams
-  last mod: $Id: dump_video.c,v 1.7 2003/11/15 17:27:12 tterribe Exp $
+  last mod: $Id: dump_video.c,v 1.8 2003/11/22 14:53:03 tterribe Exp $
 
  ********************************************************************/
 
@@ -30,7 +30,10 @@
 /*#include <sys/time.h>*/
 #include <sys/types.h>
 #include <sys/stat.h>
+/*Yes, yes, we're going to hell.*/
+#if defined(_WIN32)
 #include <io.h>
+#endif
 #include <fcntl.h>
 #include <math.h>
 #include <signal.h>

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list