mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
PRIO_MAX is not defined in cygwin, why?
This commit is contained in:
parent
ee37f1b6f2
commit
34936903fc
@ -500,7 +500,11 @@ inline void SetThreadPriority(int nPriority)
|
||||
}
|
||||
#else
|
||||
|
||||
#if defined __CYGWIN__
|
||||
#define THREAD_PRIORITY_LOWEST 20
|
||||
#else
|
||||
#define THREAD_PRIORITY_LOWEST PRIO_MAX
|
||||
#endif
|
||||
#define THREAD_PRIORITY_BELOW_NORMAL 2
|
||||
#define THREAD_PRIORITY_NORMAL 0
|
||||
#define THREAD_PRIORITY_ABOVE_NORMAL (-2)
|
||||
|
Loading…
Reference in New Issue
Block a user