summaryrefslogtreecommitdiffstats
path: root/cfg-common-opts.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-13 16:23:55 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-13 16:23:55 +0000
commit4d644f513c841eaf4617edffb348338a798d37be (patch)
tree2c89ad5e6bd82b9f8a97170d547d4988bae78fe3 /cfg-common-opts.h
parent8322f0aef1f97a0b6377fca57ee5131b143e67f6 (diff)
downloadmpv-4d644f513c841eaf4617edffb348338a798d37be.tar.bz2
mpv-4d644f513c841eaf4617edffb348338a798d37be.tar.xz
Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
This avoids a pointless indirection that only obscures what is really done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common-opts.h')
-rw-r--r--cfg-common-opts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg-common-opts.h b/cfg-common-opts.h
index 6d6374de08..c067b5b4fb 100644
--- a/cfg-common-opts.h
+++ b/cfg-common-opts.h
@@ -15,7 +15,7 @@
{"msgcharset", &mp_msg_charset, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
#endif
{"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL},
-#ifdef WIN32
+#if defined(__MINGW32__) || defined(__CYGWIN__)
{"priority", &proc_priority, CONF_TYPE_STRING, 0, 0, 0, NULL},
#endif
{"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL},