[MPlayer-cvslog] r35835 - trunk/libdvdcss/libdvdcss.c

diego subversion at mplayerhq.hu
Wed Jan 23 17:04:31 CET 2013


Author: diego
Date: Wed Jan 23 17:04:31 2013
New Revision: 35835

Log:
libdvdcss: Revert r35255, which tried to work around Windows breakage.

The issue is better addressed in configure rather than patching an
upstream library. The previous commit does just that.

Modified:
   trunk/libdvdcss/libdvdcss.c

Modified: trunk/libdvdcss/libdvdcss.c
==============================================================================
--- trunk/libdvdcss/libdvdcss.c	Wed Jan 23 17:04:28 2013	(r35834)
+++ trunk/libdvdcss/libdvdcss.c	Wed Jan 23 17:04:31 2013	(r35835)
@@ -120,7 +120,7 @@
 #   include <limits.h>
 #endif
 
-#if HAVE_DIRECT_H
+#ifdef HAVE_DIRECT_H
 #   include <direct.h>
 #endif
 
@@ -238,7 +238,7 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( 
      */
     if( psz_cache == NULL || psz_cache[0] == '\0' )
     {
-#if HAVE_DIRECT_H
+#ifdef HAVE_DIRECT_H
         typedef HRESULT( WINAPI *SHGETFOLDERPATH )
                        ( HWND, int, HANDLE, DWORD, LPTSTR );
 


More information about the MPlayer-cvslog mailing list