Commit 7205ca2b authored by Jean-Paul Saman's avatar Jean-Paul Saman

(contrib) fix libdvdread-win32.patch

parent e9a15420
Index: src/dvd_reader.c Index: src/dvd_reader.c
=================================================================== ===================================================================
--- src/dvd_reader.c (revision 1107) --- src/dvd_reader.c (revision 1157)
+++ src/dvd_reader.c (working copy) +++ src/dvd_reader.c (working copy)
@@ -32,6 +32,7 @@ @@ -34,6 +34,7 @@
#include <limits.h> #include <limits.h>
#include <dirent.h> #include <dirent.h>
...@@ -10,13 +10,11 @@ Index: src/dvd_reader.c ...@@ -10,13 +10,11 @@ Index: src/dvd_reader.c
/* misc win32 helpers */ /* misc win32 helpers */
#ifdef WIN32 #ifdef WIN32
#ifndef HAVE_GETTIMEOFDAY #ifndef HAVE_GETTIMEOFDAY
@@ -50,7 +51,8 @@ @@ -52,6 +53,7 @@
#include <io.h> /* read() */ #include <io.h> /* read() */
#define lseek64 _lseeki64 #define lseek64 _lseeki64
#endif #endif
-
+#endif +#endif
+
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__)|| defined(__DARWIN__) #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__DARWIN__)
#define SYS_BSD 1 #define SYS_BSD 1
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment