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

Diego Biurrun diego at biurrun.de
Fri Feb 1 13:52:21 CET 2013


On Fri, Feb 01, 2013 at 01:50:17PM +0100, Diego Biurrun wrote:
> On Fri, Feb 01, 2013 at 01:46:42PM +0100, Diego Biurrun wrote:
> > On Fri, Feb 01, 2013 at 01:37:37PM +0100, Jean-Baptiste Kempf wrote:
> > > On 01 Feb, Diego Biurrun wrote :
> > > > +#if defined( WIN32 ) || defined( SYS_CYGWIN )
> > > > +#   define WIN32_DVD_API
> > > > +#endif
> > > 
> > > I don't see the point. CYGWIN should have WIN32 defined too.
> > 
> > No, why?  Cygwin attempts to be a POSIX and not a Windows environment ...
> 
> From #cygwin:
> 
> 13:46 < DonDiego> say, should WIN32 or _WIN32 be defined for Cygwin?
> 13:47 < jturney> no

.. and also ..

http://cygwin.com/faq-nochunks.html#faq.programming.preprocessor

Diego


More information about the libdvdcss-devel mailing list