mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +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)
|
SWITCH_DECLARE(int32_t) set_high_priority(void)
|
||||||
{
|
{
|
||||||
int pri;
|
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
||||||
#else
|
#else
|
||||||
|
int pri;
|
||||||
|
|
||||||
#ifdef USE_SETRLIMIT
|
#ifdef USE_SETRLIMIT
|
||||||
struct rlimit lim = { RLIM_INFINITY, RLIM_INFINITY };
|
struct rlimit lim = { RLIM_INFINITY, RLIM_INFINITY };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user