From 76af31b0eb51d50f7dc17db3fdb3cc3e40fac187 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 18 Oct 2014 23:40:35 +0200 Subject: win32: remove an unneeded mechanism Instead of relying on the macro-defined lseek(), just use _lseeki64 directly, and avoid a minor mess. --- osdep/io.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'osdep/io.c') diff --git a/osdep/io.c b/osdep/io.c index a78dd78c2c..37ea37f058 100644 --- a/osdep/io.c +++ b/osdep/io.c @@ -17,8 +17,6 @@ * You should have received a copy of the GNU General Public License along * with mplayer2. If not, see . */ -#define MP_HIDE_IO_REPLACEMENTS - #include #include @@ -428,7 +426,7 @@ off_t mp_lseek(int fd, off_t offset, int whence) errno = ESPIPE; return (off_t)-1; } - return lseek(fd, offset, whence); + return _lseeki64(fd, offset, whence); } #endif // __MINGW32__ -- cgit v1.2.3