summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-26 15:07:11 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-26 15:07:11 +0000
commit248ab71a935907d5aec7d60c9e2313b279d56e74 (patch)
treeee5e573577227c96c9bdebdc7d5b19935a56a62c /cfg-common.h
parentb348c9f8f90fb3fa5d588df8f8e4b5a1ebfb8a5d (diff)
downloadmpv-248ab71a935907d5aec7d60c9e2313b279d56e74.tar.bz2
mpv-248ab71a935907d5aec7d60c9e2313b279d56e74.tar.xz
not all Windows version have ABOVE_NORMAL and BELOW_NORMAL priorities...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15271 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 3bb064c537..50849d277c 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -483,9 +483,13 @@ struct {
} priority_presets_defs[] = {
{ "realtime", REALTIME_PRIORITY_CLASS},
{ "high", HIGH_PRIORITY_CLASS},
+#ifdef ABOVE_NORMAL_PRIORITY_CLASS
{ "abovenormal", ABOVE_NORMAL_PRIORITY_CLASS},
+#endif
{ "normal", NORMAL_PRIORITY_CLASS},
+#ifdef BELOW_NORMAL_PRIORITY_CLASS
{ "belownormal", BELOW_NORMAL_PRIORITY_CLASS},
+#endif
{ "idle", IDLE_PRIORITY_CLASS},
{ NULL, NORMAL_PRIORITY_CLASS} /* default */
};