changeset 35841:ee9664187153

Fix build on OS/2. Patch by Dave Yeo. The patch is taken from libdvdcss maillist at videolan.org.
author iive
date Sat, 09 Mar 2013 20:03:51 +0000
parents bd190ad6b204
children d59f045dff4a
files libdvdcss/libdvdcss.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libdvdcss/libdvdcss.c	Sat Mar 09 16:58:26 2013 +0000
+++ b/libdvdcss/libdvdcss.c	Sat Mar 09 20:03:51 2013 +0000
@@ -238,7 +238,7 @@
      */
     if( psz_cache == NULL || psz_cache[0] == '\0' )
     {
-#ifdef HAVE_DIRECT_H
+#ifdef WIN32
         typedef HRESULT( WINAPI *SHGETFOLDERPATH )
                        ( HWND, int, HANDLE, DWORD, LPTSTR );