changeset 35741:4db51c7ff922

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.
author diego
date Wed, 23 Jan 2013 16:04:31 +0000
parents ac0b60abb5ac
children b02e9dea3240
files libdvdcss/libdvdcss.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libdvdcss/libdvdcss.c	Wed Jan 23 16:04:28 2013 +0000
+++ b/libdvdcss/libdvdcss.c	Wed Jan 23 16:04:31 2013 +0000
@@ -120,7 +120,7 @@
 #   include <limits.h>
 #endif
 
-#if HAVE_DIRECT_H
+#ifdef HAVE_DIRECT_H
 #   include <direct.h>
 #endif
 
@@ -238,7 +238,7 @@
      */
     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 );