Skip to content

Commit

Permalink
[xbmc][libdvdread] don't do symlink resolution on kodi
Browse files Browse the repository at this point in the history
  • Loading branch information
Voyager1 committed Feb 20, 2016
1 parent 9d47e8e commit 6b88581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dvd_reader.c
Expand Up @@ -432,8 +432,9 @@ static dvd_reader_t *DVDOpenCommon( const char *ppath,
if( !(path_copy = strdup( path ) ) )
goto DVDOpen_error;

#ifndef WIN32 /* don't have fchdir, and getcwd( NULL, ... ) is strange */
#if !defined(WIN32) && !defined(_XBMC) /* don't have fchdir, and getcwd( NULL, ... ) is strange */
/* Also WIN32 does not have symlinks, so we don't need this bit of code. */
/* XBMC also doesn't need symlink resolution */

/* Resolve any symlinks and get the absolute dir name. */
{
Expand Down

0 comments on commit 6b88581

Please sign in to comment.