[libbluray-devel] Use 64-bit version of lseek and off_t for win32.

ace20022 git at videolan.org
Mon Jun 5 12:38:21 CEST 2017


libudfread | branch: master | ace20022 <ace20022 at ymail.com> | Thu Jan 14 15:46:43 2016 +0100| [ef32e738e759c9583255d1b7e590bb3f3d455589] | committer: Petri Hintukainen

Use 64-bit version of lseek and off_t for win32.

> http://git.videolan.org/gitweb.cgi/libudfread.git/?a=commit;h=ef32e738e759c9583255d1b7e590bb3f3d455589
---

 src/default_blockinput.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/default_blockinput.c b/src/default_blockinput.c
index 4daa6a3..aaa8c62 100644
--- a/src/default_blockinput.c
+++ b/src/default_blockinput.c
@@ -41,6 +41,10 @@
 #include <stdio.h>
 #endif
 #include <io.h>
+# undef  lseek
+# define lseek _lseeki64
+# undef  off_t
+# define off_t int64_t
 #endif
 
 #ifdef __ANDROID__



More information about the libbluray-devel mailing list