diff options
author | Voyager1 <voyager@xbmc.org> | 2013-05-12 18:30:54 +0200 |
---|---|---|
committer | Voyager1 <voyager@xbmc.org> | 2013-05-15 19:59:52 +0200 |
commit | f3418ebaf30982e40886410c4fc86ce4d48c77f4 (patch) | |
tree | 6b99ef0f3fe88e1a7b4e7b94ed1240831942a90a /lib | |
parent | c5ed0c53e195021a1940c65e065252f15ae10539 (diff) |
[libdvdread] Remove symlink checking as this is not needed by xbmc
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libdvd/libdvdread/src/dvd_reader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libdvd/libdvdread/src/dvd_reader.c b/lib/libdvd/libdvdread/src/dvd_reader.c index d9544b3264..57dd2d0fe2 100644 --- a/lib/libdvd/libdvdread/src/dvd_reader.c +++ b/lib/libdvd/libdvdread/src/dvd_reader.c @@ -425,8 +425,9 @@ dvd_reader_t *DVDOpen( 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. */ { |