From cdfafa69996bce40732997dca168b9f36794dbe8 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 10 Feb 2009 15:34:44 +0000 Subject: Add priority support for OS/2 and factorize the Windows priority support. patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28520 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-common-opts.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cfg-common-opts.h') diff --git a/cfg-common-opts.h b/cfg-common-opts.h index 65d7a413ea..13d3f386d3 100644 --- a/cfg-common-opts.h +++ b/cfg-common-opts.h @@ -3,6 +3,8 @@ #include "config.h" +#include "osdep/priority.h" + // ------------------------- common options -------------------- {"quiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL}, {"noquiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL}, @@ -17,7 +19,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}, -#if defined(__MINGW32__) || defined(__CYGWIN__) +#ifdef CONFIG_PRIORITY {"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}, -- cgit v1.2.3