Commit fca3d72f authored by Diego Biurrun's avatar Diego Biurrun

Require Windows 2000 as minimal Windows version.

parent 6b95108d
Changes since 1.3.0: Changes since 1.3.0:
-------------------- --------------------
* Drop support for HP-UX. * Drop support for HP-UX.
* Drop support for Windows 9x. * Drop support for Windows 9x and Windows NT.
Windows NT 4.0 SP4 with IE 5.0 is now required. Windows 2000 is now required.
* Replace BeOS support by Haiku support. * Replace BeOS support by Haiku support.
* dvdcss_error() now returns "const char *" instad of "char *". * dvdcss_error() now returns "const char *" instad of "char *".
* Drop support for MSVC versions before 2010. * Drop support for MSVC versions before 2010.
......
...@@ -106,17 +106,17 @@ case x"${host_os}" in ...@@ -106,17 +106,17 @@ case x"${host_os}" in
;; ;;
x*cygwin*) x*cygwin*)
CFLAGS="${CFLAGS} -mwin32" CFLAGS="${CFLAGS} -mwin32"
AC_DEFINE([_WIN32_IE], 0x0500, [Define to '0x0500' for IE 5.0 (and shell) APIs.]) AC_DEFINE([_WIN32_IE], 0x0501, [Define to '0x0501' for IE 5.01 (and shell) APIs.])
;; ;;
xos2*) xos2*)
LDFLAGS="-Zbin-files" LDFLAGS="-Zbin-files"
;; ;;
x*msvc*) x*msvc*)
SYS_MSVC=1 SYS_MSVC=1
AC_DEFINE([_WIN32_IE], 0x0500, [Define to '0x0500' for IE 5.0 (and shell) APIs.]) AC_DEFINE([_WIN32_IE], 0x0501, [Define to '0x0500' for IE 5.01 (and shell) APIs.])
;; ;;
x*mingw* | *wince* | *mingwce*) x*mingw* | *wince* | *mingwce*)
AC_DEFINE([_WIN32_IE], 0x0500, [Define to '0x0500' for IE 5.0 (and shell) APIs.]) AC_DEFINE([_WIN32_IE], 0x0501, [Define to '0x0500' for IE 5.01 (and shell) APIs.])
;; ;;
x*) x*)
;; ;;
......
...@@ -32,8 +32,7 @@ Conflicts: libdvdcss0.0.1, libdvdcss0.0.2 ...@@ -32,8 +32,7 @@ Conflicts: libdvdcss0.0.1, libdvdcss0.0.2
libdvdcss is a simple library designed for accessing DVDs like a block device libdvdcss is a simple library designed for accessing DVDs like a block device
without having to bother about the decryption. The important features are: without having to bother about the decryption. The important features are:
* Portability: Currently supported platforms are GNU/Linux, FreeBSD, NetBSD, * Portability: Currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
OpenBSD, Haiku, Mac OS X, Solaris, QNX, OS/2, and Windows NT 4.0 SP4 (with OpenBSD, Haiku, Mac OS X, Solaris, QNX, OS/2, and Windows 2000 or later.
IE 5.0) or later.
* Adaptability: Unlike most similar projects, libdvdcss does not require the * Adaptability: Unlike most similar projects, libdvdcss does not require the
region of your drive to be set and will try its best to read from the disc region of your drive to be set and will try its best to read from the disc
even in the case of a region mismatch. even in the case of a region mismatch.
...@@ -49,8 +48,7 @@ Provides: %name = %version-%release ...@@ -49,8 +48,7 @@ Provides: %name = %version-%release
libdvdcss is a simple library designed for accessing DVDs like a block device libdvdcss is a simple library designed for accessing DVDs like a block device
without having to bother about the decryption. The important features are: without having to bother about the decryption. The important features are:
* Portability: Currently supported platforms are GNU/Linux, FreeBSD, NetBSD, * Portability: Currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
OpenBSD, Haiku, Mac OS X, Solaris, QNX, OS/2, and Windows NT 4.0 SP4 (with OpenBSD, Haiku, Mac OS X, Solaris, QNX, OS/2, and Windows 2000 or later.
IE 5.0) or later.
* Adaptability: Unlike most similar projects, libdvdcss does not require the * Adaptability: Unlike most similar projects, libdvdcss does not require the
region of your drive to be set and will try its best to read from the disc region of your drive to be set and will try its best to read from the disc
even in the case of a region mismatch. even in the case of a region mismatch.
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
/* #undef SOLARIS_USCSI */ /* #undef SOLARIS_USCSI */
#define STDC_HEADERS 1 #define STDC_HEADERS 1
#define VERSION "1.3.0" #define VERSION "1.3.0"
#define _WIN32_IE 0x0500 #define _WIN32_IE 0x0501
/* #undef const */ /* #undef const */
/* #undef inline */ /* #undef inline */
/* #undef size_t */ /* #undef size_t */
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* are: * are:
* \li portability: Currently supported platforms are GNU/Linux, FreeBSD, * \li portability: Currently supported platforms are GNU/Linux, FreeBSD,
* NetBSD, OpenBSD, Haiku, Mac OS X, Solaris, QNX, OS/2, and Windows * NetBSD, OpenBSD, Haiku, Mac OS X, Solaris, QNX, OS/2, and Windows
* NT 4.0 SP4 (with IE 5.0) or later. * 2000 or later.
* \li adaptability: Unlike most similar projects, libdvdcss does not require * \li adaptability: Unlike most similar projects, libdvdcss does not require
* the region of your drive to be set and will try its best to read from * the region of your drive to be set and will try its best to read from
* the disc even in the case of a region mismatch. * the disc even in the case of a region mismatch.
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
# include <unistd.h> # include <unistd.h>
#endif #endif
#if defined(_WIN32_IE) && _WIN32_IE >= 0x500 #ifdef WIN32
# include <shlobj.h> # include <shlobj.h>
#endif #endif
...@@ -200,7 +200,7 @@ static int set_cache_directory( dvdcss_t dvdcss ) ...@@ -200,7 +200,7 @@ static int set_cache_directory( dvdcss_t dvdcss )
if( psz_cache == NULL || psz_cache[0] == '\0' ) if( psz_cache == NULL || psz_cache[0] == '\0' )
{ {
#if defined(_WIN32_IE) && _WIN32_IE >= 0x500 #ifdef WIN32
char psz_home[PATH_MAX]; char psz_home[PATH_MAX];
/* Cache our keys in /* Cache our keys in
...@@ -255,7 +255,7 @@ static int set_cache_directory( dvdcss_t dvdcss ) ...@@ -255,7 +255,7 @@ static int set_cache_directory( dvdcss_t dvdcss )
dvdcss->psz_cachefile[PATH_MAX - 1] = '\0'; dvdcss->psz_cachefile[PATH_MAX - 1] = '\0';
psz_cache = dvdcss->psz_cachefile; psz_cache = dvdcss->psz_cachefile;
} }
#endif /* ! defined(_WIN32_IE) && _WIN32_IE >= 0x500 */ #endif /* ! defined( WIN32 ) */
} }
/* Check that there is enough space for the cache directory path and the /* Check that there is enough space for the cache directory path and the
......
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