diff cfg-common.h @ 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 e2b2c72aa971
children 428b13185b63
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 */
 };