blob: 20fe9260545bfcb0a2c3d857efb73ad26eb866f4 (
plain) (
tree)
|
|
#include "nice.h"
#include "platform.h"
#if defined(_unix_)
#include <unistd.h>
#endif
bool Nice(int prioDelta) {
#if defined(_unix_)
return nice(prioDelta) != -1;
#else
return prioDelta == 0;
#endif
}
|