[libdvdcss-devel] [PATCH 2/2] common.h: Drop INVALID_SET_FILE_POINTER fallback definition

Jean-Baptiste Kempf jb at videolan.org
Fri Oct 31 16:35:06 CET 2014


It's for old versions of MSVC.
LGTM.

On 31 Oct, Diego Biurrun wrote :
> None of the supported development environments on Windows need it.
> ---
>  src/common.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/src/common.h b/src/common.h
> index bfa6c18..207be79 100644
> --- a/src/common.h
> +++ b/src/common.h
> @@ -48,10 +48,6 @@
>  #      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
> -- 
> 1.9.1
> 
> _______________________________________________
> libdvdcss-devel mailing list
> libdvdcss-devel at videolan.org
> https://mailman.videolan.org/listinfo/libdvdcss-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdcss-devel mailing list