[DVDnav-discuss] [PATCH] do not rely on _WIN32 #define

Diego Biurrun diego at biurrun.de
Tue Dec 28 11:19:38 CET 2010


Newer versions of Cygwin no longer set the _WIN32 #define.  This is
causing some problems that we worked around locally in MPlayer.
I have replaced it with WIN32, which is used in other places in
libdvdread, but possibly using __MINGW32__ and __CYGWIN__ is even
better and makes the intent clearer.

I'd appreciate if somebody could test this since I have no Windows
system.  I think libdvdread is supposed to build on Visual Studio
as well, so testing that would be a bonus.

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32.diff
Type: text/x-diff
Size: 2035 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20101228/b3e05740/attachment.diff>


More information about the DVDnav-discuss mailing list