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

Commit a000837e authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am b901f0c6: am 484fe4d6: Merge change I06fb2c1c into eclair-mr2

Merge commit 'b901f0c6dd4c833e4d5a0aa409066d25762abbbb'

* commit 'b901f0c6dd4c833e4d5a0aa409066d25762abbbb':
  Hopefully fix Windows build
parents 99361654 2a01f943
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;
}