Commit 2afa6f86 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Win32: undef lseek before redefining it

parent 4c8f0b12
......@@ -50,6 +50,7 @@
/* several type definitions */
# if defined( __MINGW32__ )
# undef lseek
# define lseek _lseeki64
# if !defined( _OFF_T_ )
typedef long long _off_t;
......@@ -61,6 +62,7 @@ typedef _off_t off_t;
# endif /* defined( __MINGW32__ ) */
# if defined( _MSC_VER )
# undef lseek
# define lseek _lseeki64
# if !defined( _OFF_T_DEFINED )
typedef __int64 off_t;
......
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