changeset 15270:f5a466e5b198

not all Windows version have ABOVE_NORMAL and BELOW_NORMAL priorities...
author reimar
date Tue, 26 Apr 2005 15:07:11 +0000
parents 2f18d64a6f23
children 15504d659558
files cfg-common.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Tue Apr 26 11:01:07 2005 +0000
+++ b/cfg-common.h	Tue Apr 26 15:07:11 2005 +0000
@@ -483,9 +483,13 @@
 } 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 */
 };