Commit b7916b9f authored by Felix Abecassis's avatar Felix Abecassis Committed by Jean-Baptiste Kempf

Avoid redeclaration of lseek under MSVC.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 42771911
...@@ -71,8 +71,10 @@ static inline void vlc_rewinddir( DIR *dir ) ...@@ -71,8 +71,10 @@ static inline void vlc_rewinddir( DIR *dir )
# ifndef fstat # ifndef fstat
# define fstat _fstati64 # define fstat _fstati64
# endif # endif
# undef lseek # ifndef _MSC_VER
# define lseek _lseeki64 # undef lseek
# define lseek _lseeki64
# endif
#endif #endif
#ifdef __ANDROID__ #ifdef __ANDROID__
......
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