[libdvdcss-devel] [PATCH 2/2] cygwin: Use Win32 APIs for accessing DVDs

Diego Biurrun diego at biurrun.de
Wed Feb 13 20:44:09 CET 2013


On Wed, Feb 13, 2013 at 05:36:55PM +0100, Jean-Baptiste Kempf wrote:
> On 13 Feb, Diego Biurrun wrote :
> > It seems cleaner to group Cygwin together with the WIN32 systems
> > for that case instead of globally.
> 
> Why not define WIN32 then, in this CYGWIN case?
> 
> I mean there is just a difference of include in CYGWIN case, the rest
> uses the same path everywhere.

No, there is a much larger difference, look at all the WIN32 ifdefs
around the code.  I believe it's much safer to enable this specific
case for Cygwin instead of grouping Cygwin together with WIN32, which
is not correct and thus brittle.  We might stumble over other issues
in the future.

Diego


More information about the libdvdcss-devel mailing list