changeset 9928:fc5aba542810

MINGW32 port
author faust3
date Fri, 18 Apr 2003 18:47:57 +0000
parents ea1274e658b4
children c2cf0f2a9a96
files libmpdvdkit2/dvd_reader.h libmpdvdkit2/dvd_udf.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdvdkit2/dvd_reader.h	Fri Apr 18 18:36:22 2003 +0000
+++ b/libmpdvdkit2/dvd_reader.h	Fri Apr 18 18:47:57 2003 +0000
@@ -21,6 +21,9 @@
  */
 
 #include <sys/types.h>
+#ifdef __MINGW32__
+typedef long ssize_t;
+#endif
 
 /**
  * The length of one Logical Block of a DVD Video.
--- a/libmpdvdkit2/dvd_udf.c	Fri Apr 18 18:36:22 2003 +0000
+++ b/libmpdvdkit2/dvd_udf.c	Fri Apr 18 18:47:57 2003 +0000
@@ -31,7 +31,9 @@
 #include <stdlib.h>
 #include <string.h>
 //#include <assert.h>
+#ifndef __MINGW32__
 #include <sys/ioctl.h>
+#endif
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>