mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
fix windows build(2)
This commit is contained in:
parent
38903ab84e
commit
af2cebc153
@ -652,11 +652,10 @@ SWITCH_DECLARE(int32_t) set_normal_priority(void)
|
||||
|
||||
SWITCH_DECLARE(int32_t) set_high_priority(void)
|
||||
{
|
||||
int pri;
|
||||
|
||||
#ifdef WIN32
|
||||
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
||||
#else
|
||||
int pri;
|
||||
|
||||
#ifdef USE_SETRLIMIT
|
||||
struct rlimit lim = { RLIM_INFINITY, RLIM_INFINITY };
|
||||
|
Loading…
x
Reference in New Issue
Block a user