Commit dd7d9ded authored by Diego Biurrun's avatar Diego Biurrun
Browse files

win32: Remove unnecessary PATH_MAX definition

PATH_MAX is present in all supported Windows toolchains nowadays.
parent 44727dfa
......@@ -44,10 +44,6 @@
#if defined( WIN32 )
# include <io.h> /* _lseeki64 */
# ifndef PATH_MAX
# define PATH_MAX MAX_PATH
# endif
/* several type definitions */
# if defined( __MINGW32__ )
# undef lseek
......
......@@ -233,7 +233,7 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( const char *psz_target )
if( psz_cache == NULL || psz_cache[0] == '\0' )
{
#if defined(_WIN32_IE) && _WIN32_IE >= 0x500
char psz_home[MAX_PATH];
char psz_home[PATH_MAX];
/* Cache our keys in
* C:\Documents and Settings\$USER\Application Data\dvdcss\ */
......
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