summaryrefslogtreecommitdiffstats
path: root/subreader.c
diff options
context:
space:
mode:
authorkomh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-19 09:14:01 +0000
committerkomh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-19 09:14:01 +0000
commit316e05b877ac8b58afebaae87ada374b73d20f47 (patch)
tree587adf18fd60a8839222fef428336798b76b93d5 /subreader.c
parent9216c6376a1e34224344a76dc7da3914e362590b (diff)
downloadmpv-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 'subreader.c')
-rw-r--r--subreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c
index c471e75e53..ddbd2839df 100644
--- a/subreader.c
+++ b/subreader.c
@@ -1856,7 +1856,7 @@ char** sub_filenames(const char* path, char *fname)
subcnt = 0;
tmp = strrchr(fname,'/');
-#if defined(__MINGW32__) || defined(__CYGWIN__) || defined(__OS2__)
+#if HAVE_DOS_PATHS
if(!tmp)tmp = strrchr(fname,'\\');
if(!tmp)tmp = strrchr(fname,':');
#endif