diff options
author | komh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-19 09:14:01 +0000 |
---|---|---|
committer | komh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-19 09:14:01 +0000 |
commit | 316e05b877ac8b58afebaae87ada374b73d20f47 (patch) | |
tree | 587adf18fd60a8839222fef428336798b76b93d5 /stream | |
parent | 9216c6376a1e34224344a76dc7da3914e362590b (diff) | |
download | mpv-316e05b877ac8b58afebaae87ada374b73d20f47.tar.bz2 mpv-316e05b877ac8b58afebaae87ada374b73d20f47.tar.xz |
Replace platform preprocessor check by HAVE_DOS_PATHS.
This is both more elegant and more portable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30650 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c index 149660857b..dceea84db0 100644 --- a/stream/stream_file.c +++ b/stream/stream_file.c @@ -130,7 +130,7 @@ static int open_f(stream_t *stream,int mode, void* opts, int* file_format) { return STREAM_ERROR; } -#if defined(__MINGW32__) || defined(__CYGWIN__) || defined(__OS2__) +#if HAVE_DOS_PATHS // extract '/' from '/x:/path' if( filename[ 0 ] == '/' && filename[ 1 ] && filename[ 2 ] == ':' ) filename++; |