changeset 9772:6586ec1f6ee4

MINGW32 port
author faust3
date Mon, 31 Mar 2003 17:32:46 +0000
parents 25614fe4ed1a
children 8da533b7e3f0
files mencoder.c mixer.c vobsub.c
diffstat 3 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Mon Mar 31 17:08:16 2003 +0000
+++ b/mencoder.c	Mon Mar 31 17:32:46 2003 +0000
@@ -19,6 +19,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <signal.h>
+#ifdef __MINGW32__
+#define        SIGQUIT 3
+#endif
 #include <sys/time.h>
 
 #include "config.h"
--- a/mixer.c	Mon Mar 31 17:08:16 2003 +0000
+++ b/mixer.c	Mon Mar 31 17:32:46 2003 +0000
@@ -1,6 +1,8 @@
 
 #include <string.h>
+#ifndef __MINGW32__
 #include <sys/ioctl.h>
+#endif
 #include <fcntl.h>
 #include <stdio.h>
 #include <unistd.h>
--- a/vobsub.c	Mon Mar 31 17:08:16 2003 +0000
+++ b/vobsub.c	Mon Mar 31 17:32:46 2003 +0000
@@ -13,6 +13,9 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <sys/types.h>
+#ifdef __MINGW32__
+typedef long ssize_t;
+#endif
 
 #include "config.h"
 #include "version.h"