Commit 1b72e7b8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

file out: do not redefine lseek() on Windows

The correct version is selected based on _FILE_OFFSET_BITS.
parent 359e03c3
...@@ -42,10 +42,7 @@ ...@@ -42,10 +42,7 @@
#include <vlc_fs.h> #include <vlc_fs.h>
#include <vlc_strings.h> #include <vlc_strings.h>
#if defined( WIN32 ) && !defined( UNDER_CE ) #if defined( WIN32 ) || defined( __OS2__ )
# include <io.h>
# define lseek _lseeki64
#elif defined( __OS2__ )
# include <io.h> # include <io.h>
#else #else
# include <unistd.h> # include <unistd.h>
......
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