Commit fedd8500 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

device: Move Win32-specific fallback macro to common.h

parent 59954f20
......@@ -48,6 +48,10 @@
# define PATH_MAX MAX_PATH
# endif
# ifndef INVALID_SET_FILE_POINTER
# define INVALID_SET_FILE_POINTER ((DWORD)-1)
# endif
/* several type definitions */
# if defined( __MINGW32__ )
# define lseek _lseeki64
......
......@@ -705,10 +705,6 @@ static int win2k_seek( dvdcss_t dvdcss, int i_blocks )
{
LARGE_INTEGER li_seek;
#ifndef INVALID_SET_FILE_POINTER
# define INVALID_SET_FILE_POINTER ((DWORD)-1)
#endif
if( dvdcss->i_pos == i_blocks )
{
/* We are already in position */
......
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