Commit 42ac8949 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Win32: define and use _WIN32_IE for shell api

This effectively drops support for Windows 95
parent 2a6cd147
......@@ -36,6 +36,10 @@ case x"${host_os}" in
;;
x*msvc*)
SYS_MSVC=1
AC_DEFINE([_WIN32_IE], 0x0401, [Define to '0x0401' for IE 4.01 (and shell) APIs.])
;;
x*mingw* | *wince* | *mingwce*)
AC_DEFINE([_WIN32_IE], 0x0401, [Define to '0x0401' for IE 4.01 (and shell) APIs.])
;;
x*)
;;
......
......@@ -239,7 +239,7 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( char *psz_target )
*/
if( psz_cache == NULL || psz_cache[0] == '\0' )
{
#if defined(WIN32) && !defined(__CYGWIN__)
#if defined(_WIN32_IE) && _WIN32_IE >= 0x401
typedef HRESULT( WINAPI *SHGETFOLDERPATH )
( HWND, int, HANDLE, DWORD, LPTSTR );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment