1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-21 19:02:06 +00:00

fix windows build(2)

This commit is contained in:
Jeff Lenk 2011-03-22 14:12:33 -05:00
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 };