[vlc-commits] file out: do not redefine lseek() on Windows
Rémi Denis-Courmont
git at videolan.org
Fri Jan 27 22:31:56 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 27 22:57:37 2012 +0200| [1b72e7b885b058266bf844d43fc039c9644c869e] | committer: Rémi Denis-Courmont
file out: do not redefine lseek() on Windows
The correct version is selected based on _FILE_OFFSET_BITS.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1b72e7b885b058266bf844d43fc039c9644c869e
---
modules/access_output/file.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/modules/access_output/file.c b/modules/access_output/file.c
index f89d93e..0ae8ffb 100644
--- a/modules/access_output/file.c
+++ b/modules/access_output/file.c
@@ -42,10 +42,7 @@
#include <vlc_fs.h>
#include <vlc_strings.h>
-#if defined( WIN32 ) && !defined( UNDER_CE )
-# include <io.h>
-# define lseek _lseeki64
-#elif defined( __OS2__ )
+#if defined( WIN32 ) || defined( __OS2__ )
# include <io.h>
#else
# include <unistd.h>
More information about the vlc-commits
mailing list