Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80240139 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change I06fb2c1c into eclair-mr2

* changes:
  Hopefully fix Windows build
parents efc49294 c5b13899
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -309,11 +309,13 @@ int androidSetThreadPriority(pid_t tid, int pri)
        lasterr = errno;
    }

#if defined(HAVE_PTHREADS)
    if (setpriority(PRIO_PROCESS, tid, pri) < 0) {
        rc = INVALID_OPERATION;
    } else {
        errno = lasterr;
    }
#endif
    
    return rc;
}