add ifdef
This commit is contained in:
@@ -214,7 +214,9 @@ static void RestoreAppPri()
|
|||||||
if(!ChangeAppPri())
|
if(!ChangeAppPri())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
SetPriorityClass(GetCurrentProcess(), NORMAL_PRIORITY_CLASS);
|
SetPriorityClass(GetCurrentProcess(), NORMAL_PRIORITY_CLASS);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
|
|||||||
Reference in New Issue
Block a user