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

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

am 484fe4d6: Merge change I06fb2c1c into eclair-mr2

Merge commit '484fe4d6f45d5dc42c378baaad3fdad7d6ae612f' into eclair-mr2-plus-aosp

* commit '484fe4d6f45d5dc42c378baaad3fdad7d6ae612f':
  Hopefully fix Windows build
parents 24c6066f 80240139
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;
}